1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-22 17:18:37 +00:00

Do not display mark page as read if there is no entry

This commit is contained in:
Frédéric Guillot 2017-12-01 22:55:00 -08:00
parent fb2a73c91e
commit 677ba1eef3
5 changed files with 21 additions and 5 deletions

View file

@ -10,9 +10,11 @@
<li>
<a href="{{ route "editFeed" "feedID" .feed.ID }}">{{ t "Edit" }}</a>
</li>
{{ if .entries }}
<li>
<a href="#" data-on-click="markPageAsRead">{{ t "Mark this page as read" }}</a>
</li>
{{ end }}
</ul>
</section>