Back to V2

{{ .feed.Title }} ({{ .total }})

internal/template/templates/views/feed_entries.html

2.2.19986 B
Original Source

{{ define "title"}}{{ .feed.Title }} ({{ .total }}){{ end }} {{ define "page_header"}}

{{ .feed.Title }}({{ .total }})

{{ if .showOnlyUnreadEntries }} {{ plural "page.unread_entry_count" .total .total }} {{ else }} {{ plural "page.total_entry_count" .total .total }} {{ end }} {{ end }} {{ define "content"}} {{ if ne .feed.ParsingErrorCount 0 }}

{{ t "alert.feed_error" }}

{{ t .feed.ParsingErrorMsg }}

{{ end }} {{ if not .entries }} {{ if .showOnlyUnreadEntries }}

{{ t "alert.no_unread_entry" }}

{{ else }}

{{ t "alert.no_feed_entry" }}

{{ end }} {{ 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 }}