mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Highlight categories with unread entries
This commit is contained in:
parent
d7cf782019
commit
3ac5095776
6 changed files with 24 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
{{ else }}
|
||||
<div class="items">
|
||||
{{ range .categories }}
|
||||
<article role="article" class="item">
|
||||
<article role="article" class="item{{if gt .TotalUnread 0 }} category-has-unread{{end}}">
|
||||
<div class="item-header" dir="auto">
|
||||
<span class="item-title">
|
||||
<a href="{{ route "categoryEntries" "categoryID" .ID }}">{{ .Title }}</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue