From 9169fbafb2e07b33b2ca175c7ac4a9558280912c Mon Sep 17 00:00:00 2001 From: Dave Z Date: Sun, 26 Aug 2018 19:18:07 -0400 Subject: Show count of feeds with permanent errors in header menu Only for feeds that reach `maxParsingError` are counted (so transient errors do not trigger counter). --- ui/about.go | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/about.go') diff --git a/ui/about.go b/ui/about.go index 484fdc0..1815532 100644 --- a/ui/about.go +++ b/ui/about.go @@ -31,6 +31,7 @@ func (c *Controller) About(w http.ResponseWriter, r *http.Request) { view.Set("menu", "settings") view.Set("user", user) view.Set("countUnread", c.store.CountUnreadEntries(user.ID)) + view.Set("countErrorFeeds", c.store.CountErrorFeeds(user.ID)) html.OK(w, r, view.Render("about")) } -- cgit v1.2.3