aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/feeds.html
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-07-06 21:21:52 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-07-06 21:44:51 +0200
commit30b48eb41a9515feaf7dbc5cd4eb8847371b237c (patch)
treeab33ed59f2d09cd5aa5f30f28e190ecec9a7cbad /pyaggr3g470r/templates/feeds.html
parentMinor fixes from a quick review. Need to test deeper. (diff)
downloadnewspipe-30b48eb41a9515feaf7dbc5cd4eb8847371b237c.tar.gz
newspipe-30b48eb41a9515feaf7dbc5cd4eb8847371b237c.tar.bz2
newspipe-30b48eb41a9515feaf7dbc5cd4eb8847371b237c.zip
adding feed icons on feed pages
Diffstat (limited to 'pyaggr3g470r/templates/feeds.html')
-rw-r--r--pyaggr3g470r/templates/feeds.html5
1 files changed, 4 insertions, 1 deletions
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 @@
<i class="glyphicon glyphicon-exclamation-sign" title="{{ _('Feed encountered too much errors.') }}"></i>
{% endif %}
</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="{{ url_for("feed.feed", feed_id=feed.id) }}" {% if feed.description %}title="{{ feed.description }}"{% endif %}>
+ {% if feed.icon %}<img src="{{ url_for('feed.icon', feed_id=feed.id) }}" width="16px" />{% endif %}
+ {{ feed.title }}
+ </a></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>
bgstack15