diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-21 18:24:30 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-21 18:24:30 +0100 |
commit | a2437684225c88eca1e56c1ea159b35b8df9b698 (patch) | |
tree | 91238d762103f82df8205acd8ca7b61537fa77da /src/web/templates/feed_list.html | |
parent | With the new home page we do not need anymore the link to see all articles of... (diff) | |
download | newspipe-a2437684225c88eca1e56c1ea159b35b8df9b698.tar.gz newspipe-a2437684225c88eca1e56c1ea159b35b8df9b698.tar.bz2 newspipe-a2437684225c88eca1e56c1ea159b35b8df9b698.zip |
Minor improvements to the list of feeds.
Diffstat (limited to 'src/web/templates/feed_list.html')
-rw-r--r-- | src/web/templates/feed_list.html | 6 |
1 files changed, 2 insertions, 4 deletions
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 %} - <h1>{{_("No feed")}}</h1> -{% else %} +{% if feeds.count() != 0 %} <div class="table-responsive"> <table class="table table-striped"> <thead> @@ -27,7 +25,7 @@ <i class="glyphicon glyphicon-exclamation-sign" title="{{ _('Feed encountered too much errors.') }}"></i> {% endif %} </td> - <td>{% if feed.icon_url %}<img src="{{ url_for('icon.icon', url=feed.icon_url) }}" width="16px" />{% endif %}{{ feed.title }}</td> + <td>{% if feed.icon_url %}<img src="{{ url_for('icon.icon', url=feed.icon_url) }}" width="16px" /> {% endif %}{{ feed.title }}</td> <td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td> <td>( {{ unread_article_count.get(feed.id, 0) }} ) {{ article_count.get(feed.id, 0) }}</td> <td> |