From a2437684225c88eca1e56c1ea159b35b8df9b698 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 21 Feb 2016 18:24:30 +0100 Subject: Minor improvements to the list of feeds. --- src/web/templates/feed_list.html | 6 ++---- src/web/templates/feeds.html | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/web/templates/feed_list.html b/src/web/templates/feed_list.html index d9facc88..2e7e8e71 100644 --- a/src/web/templates/feed_list.html +++ b/src/web/templates/feed_list.html @@ -1,6 +1,4 @@ -{% if feeds.count() == 0 %} -

{{_("No feed")}}

-{% else %} +{% if feeds.count() != 0 %}
@@ -27,7 +25,7 @@ {% endif %} - +
{% if feed.icon_url %}{% endif %}{{ feed.title }}{% if feed.icon_url %} {% endif %}{{ feed.title }} {{ feed.site_link }} ( {{ unread_article_count.get(feed.id, 0) }} ) {{ article_count.get(feed.id, 0) }} diff --git a/src/web/templates/feeds.html b/src/web/templates/feeds.html index 9523d43f..805e1b74 100644 --- a/src/web/templates/feeds.html +++ b/src/web/templates/feeds.html @@ -1,7 +1,7 @@ {% extends "layout.html" %} {% block content %}
-

{{ _('You are subscribed to %(feed_count)d feeds.', feed_count=feeds.count()) }} · {{ _('Add a') }} {{ _('feed') }}

+

{{ _('You are subscribed to %(feed_count)d feeds.', feed_count=feeds.count()) }} {{ _('Add') }} {{ _('a feed') }}.

{% include "feed_list.html" %}
{% endblock %} -- cgit