diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-05-28 15:27:21 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-07-02 15:34:16 +0200 |
commit | be33517445c787be0da5577da048d4b2d91452d4 (patch) | |
tree | 68f281bfb9464f52ea3db18510967613db686545 /pyaggr3g470r/templates/feeds.html | |
parent | accelerating the feeds page (diff) | |
download | newspipe-be33517445c787be0da5577da048d4b2d91452d4.tar.gz newspipe-be33517445c787be0da5577da048d4b2d91452d4.tar.bz2 newspipe-be33517445c787be0da5577da048d4b2d91452d4.zip |
adding unread count when listing feeds, using count_by_feed for user management
Diffstat (limited to 'pyaggr3g470r/templates/feeds.html')
-rw-r--r-- | pyaggr3g470r/templates/feeds.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html index 4d4581d4..789decf5 100644 --- a/pyaggr3g470r/templates/feeds.html +++ b/pyaggr3g470r/templates/feeds.html @@ -30,7 +30,7 @@ </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> - <td>{{ article_count[feed.id] }}</td> + <td>( {{ unread_article_count.get(feed.id, 0) }} ) {{ article_count.get(feed.id, 0) }}</td> <td> <a href="{{ url_for("home", feed_id=feed.id, filter_="all") }}"><i class="glyphicon glyphicon-th-list" title="{{ _('Articles') }}"></i></a> <a href="{{ url_for("feed.form", feed_id=feed.id) }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this feed') }}"></i></a> |