diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-07-06 21:21:52 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-07-06 21:44:51 +0200 |
commit | 30b48eb41a9515feaf7dbc5cd4eb8847371b237c (patch) | |
tree | ab33ed59f2d09cd5aa5f30f28e190ecec9a7cbad /pyaggr3g470r/templates/admin/user.html | |
parent | Minor fixes from a quick review. Need to test deeper. (diff) | |
download | newspipe-30b48eb41a9515feaf7dbc5cd4eb8847371b237c.tar.gz newspipe-30b48eb41a9515feaf7dbc5cd4eb8847371b237c.tar.bz2 newspipe-30b48eb41a9515feaf7dbc5cd4eb8847371b237c.zip |
adding feed icons on feed pages
Diffstat (limited to 'pyaggr3g470r/templates/admin/user.html')
-rw-r--r-- | pyaggr3g470r/templates/admin/user.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <thead> <tr> <th>#</th> - <th>{{ _('Name') }}</th> + <th>{{ _('Title') }}</th> <th>{{ _('Feed link') }}</th> <th>{{ _('Site link') }}</th> <th>{{ _('(unread) articles') }}</th> @@ -34,7 +34,7 @@ {% for feed in user.feeds|sort(attribute="title") %} <tr> <td>{{ loop.index }}</td> - <td><a href="/feed/{{ feed.id }}">{{ feed.title }}</a></td> + <td><a href="{{ url_for("feed.feed", feed_id=feed.id) }}">{%if feed.icon%}<img src="{{ url_for('feed.icon', feed_id=feed.id) }}" width="16px" />{%endif%}{{ feed.title }}</a></td> <td>{{ feed.link }}</td> <td>{{ feed.site_link }}</td> <td>( {{ unread_article_count.get(feed.id, 0) }} ) {{ article_count.get(feed.id, 0) }}</td> |