diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-07-02 14:58:42 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-07-02 14:58:42 +0200 |
commit | abf5593c438a6c83c224a315b9c3dda64e753b8a (patch) | |
tree | 4d91f5c05562af10615590464f5f8f501ceefc30 /pyaggr3g470r | |
parent | Bugfix: the variable 'favorites' wasn't transfered to the template. (diff) | |
download | newspipe-abf5593c438a6c83c224a315b9c3dda64e753b8a.tar.gz newspipe-abf5593c438a6c83c224a315b9c3dda64e753b8a.tar.bz2 newspipe-abf5593c438a6c83c224a315b9c3dda64e753b8a.zip |
Display a picto when a feed is disabled due to errors when retrieving.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/templates/feeds.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html index a8446f6a..f0e674c9 100644 --- a/pyaggr3g470r/templates/feeds.html +++ b/pyaggr3g470r/templates/feeds.html @@ -24,6 +24,9 @@ {% else %} <i class="glyphicon glyphicon-eye-close" title="{{ _('Feed disabled') }}"></i> {% endif %} + {% if feed.error_count > conf.DEFAULT_MAX_ERROR %} + <i class="glyphicon glyphicon-exclamation-sign" title="{{ _('Feed encountered too much errors.') }}"></i> + {% endif %} </td> <td><a href="{{ url_for("feed.feed", feed_id=feed.id) }}" {% if feed.description %}title="{{ feed.description }}"{% endif %}>{{ feed.title }}</a></td> <td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td> |