aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/common/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/html/common/layout.html')
-rw-r--r--template/html/common/layout.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/template/html/common/layout.html b/template/html/common/layout.html
index 23464e6..b6a7b13 100644
--- a/template/html/common/layout.html
+++ b/template/html/common/layout.html
@@ -60,7 +60,11 @@
<a href="{{ route "history" }}" data-page="history">{{ t "History" }}</a>
</li>
<li {{ if eq .menu "feeds" }}class="active"{{ end }} title="{{ t "Keyboard Shortcut: %s" "g f" }}">
- <a href="{{ route "feeds" }}" data-page="feeds">{{ t "Feeds" }}</a>
+ <a href="{{ route "feeds" }}" data-page="feeds">{{ t "Feeds" }}
+ {{ if gt .countErrorFeeds 0 }}
+ <span class="error-feeds-counter-wrapper">(<span class="error-feeds-counter">{{ .countErrorFeeds }}</span>)</span>
+ {{ end }}
+ </a>
</li>
<li {{ if eq .menu "categories" }}class="active"{{ end }} title="{{ t "Keyboard Shortcut: %s" "g c" }}">
<a href="{{ route "categories" }}" data-page="categories">{{ t "Categories" }}</a>