diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-04-08 12:33:40 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-04-12 14:31:06 +0200 |
commit | b343dc73e5ea4aaf1314b6b277c3806f15ac0635 (patch) | |
tree | ad31cf775685f51977b9a6dcad9e255e9087302f /pyaggr3g470r/templates/unread.html | |
parent | Updated bootstrap. (diff) | |
download | newspipe-b343dc73e5ea4aaf1314b6b277c3806f15ac0635.tar.gz newspipe-b343dc73e5ea4aaf1314b6b277c3806f15ac0635.tar.bz2 newspipe-b343dc73e5ea4aaf1314b6b277c3806f15ac0635.zip |
moving feed views related code in views.feed and massive use of url_for
Diffstat (limited to 'pyaggr3g470r/templates/unread.html')
-rw-r--r-- | pyaggr3g470r/templates/unread.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/unread.html b/pyaggr3g470r/templates/unread.html index 9808572b..d6f51bff 100644 --- a/pyaggr3g470r/templates/unread.html +++ b/pyaggr3g470r/templates/unread.html @@ -16,8 +16,8 @@ <a href="/articles/{{ feed.id }}/100"><i class="glyphicon glyphicon-th-list" title="{{ _('More articles') }}"></i></a> <a href="/feed/{{ feed.id }}"><i class="glyphicon glyphicon-info-sign" title="{{ _('Details') }}"></i></a> <a href="/edit_feed/{{ feed.id }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this feed') }}"></i></a> - <a href="/mark_as/read/feed/{{ feed.id }}"><i class="glyphicon glyphicon-check" title="{{ _('Mark all feed as read') }}"></i></a> - <a href="/mark_as/unread/feed/{{ feed.id }}"><i class="glyphicon glyphicon-unchecked" title="{{ _('Mark all feed as unread') }}"></i></a> + <a href="{{ url_for("feed.update", feed_id=fid, action="read") }}"><i class="glyphicon glyphicon-check" title="{{ _('Mark all feed as read') }}"></i></a> + <a href="{{ url_for("feed.update", feed_id=fid, action="unread") }}"><i class="glyphicon glyphicon-unchecked" title="{{ _('Mark all feed as unread') }}"></i></a> <h3>{{ feed.articles|length }} {{ _('unread articles') }}.</h3> </div> </div> |