diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-10 22:13:46 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-03-10 22:13:46 +0100 |
commit | 0dd06d8e6047be57295d5346857fb62fc1c103b5 (patch) | |
tree | f1426b67dfdc01abc1a5e40d91cc94688c97dffb /pyaggr3g470r/templates/home.html | |
parent | changed the type of the column 'last_modified' to string. (diff) | |
download | newspipe-0dd06d8e6047be57295d5346857fb62fc1c103b5.tar.gz newspipe-0dd06d8e6047be57295d5346857fb62fc1c103b5.tar.bz2 newspipe-0dd06d8e6047be57295d5346857fb62fc1c103b5.zip |
The label of the badge (for the errors count) wasn't clear enough.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r-- | pyaggr3g470r/templates/home.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index 3a9608d5..f2d2218b 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -22,7 +22,7 @@ <li class="feed-menu"><a href="{{ gen_url(feed=fid) }}"> {% if feed_id == fid %}<b>{% endif %} {% if in_error.get(fid, 0) > 0 %} - <span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }}</span> + <span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }} {{ _("error") }}{% if in_error[fid] > 1 %}s{% endif %}</span> {% endif %} <span id="unread-{{ fid }}" class="badge pull-right">{{ nbunread }}</span> {{ feeds[fid]|safe }} @@ -40,7 +40,7 @@ {% for fid, ftitle in feeds|dictsort(case_sensitive=False, by='value') if not fid in unread %} <li class="feed-menu"><a href="{{ gen_url(feed=fid) }}"> {% if in_error.get(fid, 0) > 0 %} - <span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }}</span> + <span style="background-color: {{ "red" if in_error[fid] > 2 else "orange" }} ;" class="badge pull-right" title="Some errors occured while trying to retrieve that feed.">{{ in_error[fid] }} {{ _("error") }}{% if in_error[fid] > 1 %}s{% endif %}</span> {% endif %} {% if feed_id == fid %}<b>{% endif %} {{ ftitle|safe }} |