diff options
Diffstat (limited to 'template/html/feed_entries.html')
-rw-r--r-- | template/html/feed_entries.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/template/html/feed_entries.html b/template/html/feed_entries.html index a7daa8a..65b9a2f 100644 --- a/template/html/feed_entries.html +++ b/template/html/feed_entries.html @@ -6,7 +6,10 @@ <ul> {{ if .entries }} <li> - <a href="#" data-on-click="markPageAsRead">{{ t "menu.mark_page_as_read" }}</a> + <a href="#" data-on-click="markPageAsRead" + data-show-only-unread="{{ if .showOnlyUnreadEntries }}1{{ end }}"> + {{ t "menu.mark_page_as_read" }} + </a> </li> {{ end }} {{ if .showOnlyUnreadEntries }} @@ -72,7 +75,10 @@ {{ if .entries }} <ul> <li> - <a href="#" data-on-click="markPageAsRead">{{ t "menu.mark_page_as_read" }}</a> + <a href="#" data-on-click="markPageAsRead" + data-show-only-unread="{{ if .showOnlyUnreadEntries }}1{{ end }}"> + {{ t "menu.mark_page_as_read" }} + </a> </li> </ul> {{ end }} |