From eba5fc68f61b93f5fc33301e95e0b841626a96c0 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Fri, 3 Jul 2015 15:00:33 +0200 Subject: fixing bug on reset link for feeds and hidding feed title for eXtraSmall device --- pyaggr3g470r/templates/feed.html | 2 +- pyaggr3g470r/templates/home.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html index cce74b19..c421a411 100644 --- a/pyaggr3g470r/templates/feed.html +++ b/pyaggr3g470r/templates/feed.html @@ -21,7 +21,7 @@ {{ _("Last download:") }} {{ feed.last_retrieved | datetime }}
{% endif %} - {% if feed.error_count > conf.DEFAULT_MAX_ERROR %} + {% if feed.error_count >= conf.DEFAULT_MAX_ERROR %} {{ _("That feed has encountered too much consecutive errors and won't be retrieved anymore.") }}
{{ _("You can click here to reset the error count and reactivate the feed.", reset_error_url=url_for("feed.reset_errors", feed_id=feed.id)) }} {% elif feed.error_count > 0 %} diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index 5c961888..7e272b55 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -107,7 +107,7 @@ {% if article.source.icon %}{% endif %} - {{ article.source.title|safe }} + {{ article.title|safe }} -- cgit