2018-01-19 05:23:26 +01:00
{{ define "item_meta" }}
< div class = "item-meta" >
< ul >
< li >
2018-02-04 23:37:42 +01:00
< a href = "{{ route " feedEntries " " feedID " . entry . Feed . ID } } " title = "{{ .entry.Feed.Title }}" > {{ domain .entry.Feed.SiteURL }}< / a >
2018-01-19 05:23:26 +01:00
< / li >
< li >
2018-02-04 23:37:42 +01:00
< time datetime = "{{ isodate .entry.Date }}" title = "{{ isodate .entry.Date }}" > {{ elapsed .user.Timezone .entry.Date }}< / time >
2018-01-19 05:23:26 +01:00
< / li >
2018-04-30 02:43:40 +02:00
{{ if .hasSaveEntry }}
< li >
< a href = "#"
title="{{ t "Save this article" }}"
data-save-entry="true"
data-save-url="{{ route "saveEntry" "entryID" .entry.ID }}"
data-label-loading="{{ t "Saving..." }}"
data-label-done="{{ t "Done!" }}"
>{{ t "Save" }}< / a >
< / li >
{{ end }}
2018-01-19 05:23:26 +01:00
< li >
2018-02-04 23:37:42 +01:00
< a href = "{{ .entry.URL }}" target = "_blank" rel = "noopener noreferrer" referrerpolicy = "no-referrer" data-original-link = "true" > {{ t "Original" }}< / a >
2018-01-19 05:23:26 +01:00
< / li >
2018-04-30 02:43:40 +02:00
{{ if .entry.CommentsURL }}
< li >
< a href = "{{ .entry.CommentsURL }}" title = "{{ t " View Comments " } } " target = "_blank" rel = "noopener noreferrer" referrerpolicy = "no-referrer" > {{ t "Comments" }}< / a >
< / li >
{{ end }}
2018-01-19 05:23:26 +01:00
< li >
< a href = "#"
data-toggle-bookmark="true"
2018-02-04 23:37:42 +01:00
data-bookmark-url="{{ route "toggleBookmark" "entryID" .entry.ID }}"
2018-01-19 05:23:26 +01:00
data-label-loading="{{ t "Saving..." }}"
data-label-star="☆ {{ t "Star" }}"
data-label-unstar="★ {{ t "Unstar" }}"
2018-02-04 23:37:42 +01:00
data-value="{{ if .entry.Starred }}star{{ else }}unstar{{ end }}"
>{{ if .entry.Starred }}★ {{ t "Unstar" }}{{ else }}☆ {{ t "Star" }}{{ end }}< / a >
2018-01-19 05:23:26 +01:00
< / li >
< li >
< a href = "#"
title="{{ t "Change entry status" }}"
data-toggle-status="true"
data-label-read="✔ {{ t "Read" }}"
data-label-unread="✘ {{ t "Unread" }}"
2018-02-04 23:37:42 +01:00
data-value="{{ if eq .entry.Status "read" }}read{{ else }}unread{{ end }}"
>{{ if eq .entry.Status "read" }}✘ {{ t "Unread" }}{{ else }}✔ {{ t "Read" }}{{ end }}< / a >
2018-01-19 05:23:26 +01:00
< / li >
< / ul >
< / div >
{{ end }}