1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-06 17:41:00 +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

@ -3,11 +3,13 @@
{{ define "content"}}
<section class="page-header">
<h1>{{ t "History" }} ({{ .total }})</h1>
{{ if .entries }}
<ul>
<li>
<a href="{{ route "flushHistory" }}">{{ t "Flush history" }}</a>
</li>
</ul>
{{ end }}
</section>
{{ if not .entries }}