diff options
author | Frédéric Guillot <fred@miniflux.net> | 2019-11-17 19:44:12 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-11-17 20:10:44 -0800 |
commit | fad9ad2be4fc800f8710e2a498cc8f536af8827c (patch) | |
tree | 8bc4f134b63f100442850bd9eb443f03fffcf7e6 /template/html/categories.html | |
parent | 15fe9c20df7eaab4c1e10461f1a9965eeaf85f0f (diff) |
Display list of feeds per category
Diffstat (limited to 'template/html/categories.html')
-rw-r--r-- | template/html/categories.html | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/template/html/categories.html b/template/html/categories.html index b534ba1..4be3c2f 100644 --- a/template/html/categories.html +++ b/template/html/categories.html @@ -20,18 +20,13 @@ <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>) </div> <div class="item-meta"> <ul> <li> - {{ if eq .FeedCount 0 }} - {{ t "page.categories.no_feed" }} - {{ else }} - {{ plural "page.categories.feed_count" .FeedCount .FeedCount }} - {{ end }} + <a href="{{ route "categoryFeeds" "categoryID" .ID }}">{{ t "page.categories.feeds" }}</a> </li> - </ul> - <ul> <li> <a href="{{ route "editCategory" "categoryID" .ID }}">{{ t "menu.edit_category" }}</a> </li> |