From 15fe9c20df7eaab4c1e10461f1a9965eeaf85f0f Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 17 Nov 2019 17:54:42 -0800 Subject: Show the number of read and unread entries for each feed --- template/html/feeds.html | 8 +++----- template/views.go | 10 ++++------ 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'template') diff --git a/template/html/feeds.html b/template/html/feeds.html index f676f23..7d4a428 100644 --- a/template/html/feeds.html +++ b/template/html/feeds.html @@ -33,6 +33,9 @@ {{ if .Disabled }} 🚫 {{ end }} {{ .Title }} + + ({{ .UnreadCount }}/{{ .ReadCount }}) + {{ .Category.Title }} @@ -45,11 +48,6 @@
  • {{ t "page.feeds.last_check" }}
  • - {{ if gt .UnreadCount 0 }} -
  • - {{ t "page.feeds.unread" }} {{ .UnreadCount }} -
  • - {{ end }}