diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-12-01 23:30:56 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-12-01 23:30:56 +0100 |
commit | a409cdef5673f02f6c2f9e67bf8f80dc6495b6ae (patch) | |
tree | 391e4310770a8819a23b1573c83cbbc9634c3509 /pyaggr3g470r/templates | |
parent | Updated README. (diff) | |
download | newspipe-a409cdef5673f02f6c2f9e67bf8f80dc6495b6ae.tar.gz newspipe-a409cdef5673f02f6c2f9e67bf8f80dc6495b6ae.tar.bz2 newspipe-a409cdef5673f02f6c2f9e67bf8f80dc6495b6ae.zip |
The /feeds page has benn slightly updated.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/feeds.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html index b2009fac..4bacf996 100644 --- a/pyaggr3g470r/templates/feeds.html +++ b/pyaggr3g470r/templates/feeds.html @@ -1,8 +1,7 @@ {% extends "layout.html" %} {% block content %} <div class="container"> - <h1>You are subscribed to the following feeds</h1> - + <h1>You are subscribed to {{ feeds|count }} feeds</h1> <div class="table-responsive"> <table class="table table-striped"> <thead> @@ -22,8 +21,13 @@ <td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td> <td>{{ feed.articles|count }}</td> <td> + {% if feed.enabled %} + <a href="/feed/{{ feed.oid }}"><i class="glyphicon glyphicon-eye-open" title="Feed enabled"></i></a> + {% else %} + <a href="/feed/{{ feed.oid }}"><i class="glyphicon glyphicon-eye-close" title="Feed disabled"></i></a> + {% endif %} + <a href="/edit_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-info-sign" title="Information"></i></a> <a href="/articles/{{ feed.oid }}"><i class="glyphicon glyphicon-th-list" title="All articles"></i></a> - <a href="/feed/{{ feed.oid }}"><i class="glyphicon glyphicon-eye-open" title="Details"></i></a> <a href="/edit_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a> <a href="/delete_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-remove" title="Delete this feed"></i></a> </td> @@ -32,6 +36,5 @@ </tbody> </table> </div> - </div><!-- /.container --> {% endblock %}
\ No newline at end of file |