1
0
Fork 0
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:
Romain de Laage 2022-07-20 18:24:33 +02:00 committed by Frédéric Guillot
parent d7cf782019
commit 3ac5095776
6 changed files with 24 additions and 3 deletions

View file

@ -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>