mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Highlight and sort feeds with unread entries in feeds list
This commit is contained in:
parent
1fc95a83b6
commit
4b2a25eed4
6 changed files with 45 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
{{ define "feed_list" }}
|
||||
<div class="items">
|
||||
{{ range .feeds }}
|
||||
<article class="item {{ if ne .ParsingErrorCount 0 }}feed-parsing-error{{ end }}">
|
||||
<article class="item {{ if ne .ParsingErrorCount 0 }}feed-parsing-error{{ else if ne .UnreadCount 0 }}feed-has-unread{{ end }}">
|
||||
<div class="item-header" dir="auto">
|
||||
<span class="item-title">
|
||||
{{ if and (.Icon) (gt .Icon.IconID 0) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue