diff options
author | Cédric Bonhomme <kimble.mandel+bitbucket@gmail.com> | 2015-07-06 23:22:59 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel+bitbucket@gmail.com> | 2015-07-06 23:22:59 +0200 |
commit | 2676d9881593f03142bd790ae5603c07e99c1adf (patch) | |
tree | 8f12fe10f1c79b6e036c09f44902f83f76940e6f /pyaggr3g470r/templates/inactives.html | |
parent | Minor fixes from a quick review. Need to test deeper. (diff) | |
parent | making it possible for super admin to update other's feed (diff) | |
download | newspipe-2676d9881593f03142bd790ae5603c07e99c1adf.tar.gz newspipe-2676d9881593f03142bd790ae5603c07e99c1adf.tar.bz2 newspipe-2676d9881593f03142bd790ae5603c07e99c1adf.zip |
Merged in jaesivsm/pyaggr3g470r (pull request #17)
sorry, another pull request in a very short delay
Diffstat (limited to 'pyaggr3g470r/templates/inactives.html')
-rw-r--r-- | pyaggr3g470r/templates/inactives.html | 9 |
1 files changed, 7 insertions, 2 deletions
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 @@ <br /> {% if inactives != [] %} <ul class="list-group"> - {% for item in inactives %} - <li class="list-group-item"><a href="/feed/{{ item[0].id }}">{{ item[0].title }}</a> - {{ item[1].days }} {{ _('days') }}</li> + {% for feed, delta in inactives %} + <li class="list-group-item"> + <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> - {{ delta.days }} {{ _('days') }} + </li> {% endfor %} </ul> {% else %} |