diff options
author | Maxim Baz <github@maximbaz.com> | 2019-10-30 05:44:35 +0100 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-10-29 21:44:35 -0700 |
commit | e38333e272b24b6fcfa5399aa944f771558eb7aa (patch) | |
tree | 2ce26220cebdcafc01ba89fb59fa5a09da1268e7 /template/html/feeds.html | |
parent | 2eb2441f2ba9fcb50d17d8f7deead756187b3586 (diff) |
Show unread counters on feeds page
Diffstat (limited to 'template/html/feeds.html')
-rw-r--r-- | template/html/feeds.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/template/html/feeds.html b/template/html/feeds.html index e4a3231..f676f23 100644 --- a/template/html/feeds.html +++ b/template/html/feeds.html @@ -45,6 +45,11 @@ <li> {{ t "page.feeds.last_check" }} <time datetime="{{ isodate .CheckedAt }}" title="{{ isodate .CheckedAt }}">{{ elapsed $.user.Timezone .CheckedAt }}</time> </li> + {{ if gt .UnreadCount 0 }} + <li> + {{ t "page.feeds.unread" }} <span class="unread-counter">{{ .UnreadCount }}</span> + </li> + {{ end }} </ul> <ul> <li> |