Back to V2

{{ t "page.unread.title" }} ({{ .countUnread }})

internal/template/templates/views/unread_entries.html

2.2.19720 B
Original Source

{{ define "title"}}{{ t "page.unread.title" }} {{ if gt .countUnread 0 }}({{ .countUnread }}){{ end }} {{ end }} {{ define "page_header"}}

{{ t "page.unread.title" }} ({{ .countUnread }})

{{ plural "page.unread_entry_count" .countUnread .countUnread }} {{ if .entries }} {{ end }}{{ end }} {{ define "content"}} {{ if not .entries }}

{{ t "alert.no_unread_entry" }}

{{ else }} {{ template "pagination" .pagination -}}

{{ range .entries -}} {{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry -}} {{ end }} {{ if .entries }}

  • {{ icon "mark-page-as-read" }}{{ t "menu.mark_page_as_read" }}

{{ end }} {{ template "pagination" .pagination }} {{ end }} {{ end }}