From e38333e272b24b6fcfa5399aa944f771558eb7aa Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Wed, 30 Oct 2019 05:44:35 +0100 Subject: Show unread counters on feeds page --- template/html/feeds.html | 5 +++++ template/views.go | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'template') 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 @@
  • {{ t "page.feeds.last_check" }}
  • + {{ if gt .UnreadCount 0 }} +
  • + {{ t "page.feeds.unread" }} {{ .UnreadCount }} +
  • + {{ end }}