mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
show #unread per category in category list, not #feeds
the number of feeds in the category is currently displayed twice, and a lot less useful than the number of unread items in the category.
This commit is contained in:
parent
de53d8762f
commit
1c9f000576
15 changed files with 34 additions and 17 deletions
|
@ -20,7 +20,7 @@
|
|||
<span class="item-title">
|
||||
<a href="{{ route "categoryEntries" "categoryID" .ID }}">{{ .Title }}</a>
|
||||
</span>
|
||||
(<span title="{{ if eq .FeedCount 0 }}{{ t "page.categories.no_feed" }}{{ else }}{{ plural "page.categories.feed_count" .FeedCount .FeedCount }}{{ end }}">{{ .FeedCount }}</span>)
|
||||
(<span title="{{ t "page.categories.unread_counter" }}">{{ .TotalUnread }}</span>)
|
||||
</div>
|
||||
<div class="item-meta">
|
||||
<ul class="item-meta-info">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue