From 30b48eb41a9515feaf7dbc5cd4eb8847371b237c Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Mon, 6 Jul 2015 21:21:52 +0200 Subject: adding feed icons on feed pages --- pyaggr3g470r/templates/admin/user.html | 4 ++-- pyaggr3g470r/templates/feeds.html | 5 ++++- pyaggr3g470r/templates/inactives.html | 9 +++++++-- 3 files changed, 13 insertions(+), 5 deletions(-) (limited to 'pyaggr3g470r/templates') diff --git a/pyaggr3g470r/templates/admin/user.html b/pyaggr3g470r/templates/admin/user.html index e50741ee..21bcd6b6 100644 --- a/pyaggr3g470r/templates/admin/user.html +++ b/pyaggr3g470r/templates/admin/user.html @@ -23,7 +23,7 @@ # - {{ _('Name') }} + {{ _('Title') }} {{ _('Feed link') }} {{ _('Site link') }} {{ _('(unread) articles') }} @@ -34,7 +34,7 @@ {% for feed in user.feeds|sort(attribute="title") %} {{ loop.index }} - {{ feed.title }} + {%if feed.icon%}{%endif%}{{ feed.title }} {{ feed.link }} {{ feed.site_link }} ( {{ unread_article_count.get(feed.id, 0) }} ) {{ article_count.get(feed.id, 0) }} diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html index 789decf5..20e0cccb 100644 --- a/pyaggr3g470r/templates/feeds.html +++ b/pyaggr3g470r/templates/feeds.html @@ -28,7 +28,10 @@ {% endif %} - {{ feed.title }} + + {% if feed.icon %}{% endif %} + {{ feed.title }} + {{ feed.site_link }} ( {{ unread_article_count.get(feed.id, 0) }} ) {{ article_count.get(feed.id, 0) }} diff --git a/pyaggr3g470r/templates/inactives.html b/pyaggr3g470r/templates/inactives.html index 6a4ff055..eb546eca 100644 --- a/pyaggr3g470r/templates/inactives.html +++ b/pyaggr3g470r/templates/inactives.html @@ -9,8 +9,13 @@
{% if inactives != [] %} {% else %} -- cgit