aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-02-02 10:14:09 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-02-02 10:14:09 +0100
commit1b50120f823f493a0ab02cd25b099b7b786bf20c (patch)
tree7a3749d40239a18df1e1539e298a57b1885c8a8c /pyaggr3g470r/templates
parentTest with another time format (only for the home page). (diff)
downloadnewspipe-1b50120f823f493a0ab02cd25b099b7b786bf20c.tar.gz
newspipe-1b50120f823f493a0ab02cd25b099b7b786bf20c.tar.bz2
newspipe-1b50120f823f493a0ab02cd25b099b7b786bf20c.zip
Mark all articles as read by feed.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/home.html1
-rw-r--r--pyaggr3g470r/templates/unread.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 9ea8c01a..25cb5012 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -14,6 +14,7 @@
{% if feed.enabled %}
<a href="/fetch/{{ feed.oid }}"><i class="glyphicon glyphicon-cloud-download" title="Fetch this feed"></i></a>
{% endif %}
+ <a href="/mark_as_read/{{ feed.oid }}"><i class="glyphicon glyphicon-check" title="Mark all as read"></i></a>
</div>
</div>
{% for number in range(0, feed.articles|length-(feed.articles|length % 3), 3) %}
diff --git a/pyaggr3g470r/templates/unread.html b/pyaggr3g470r/templates/unread.html
index 41c89a29..9058182c 100644
--- a/pyaggr3g470r/templates/unread.html
+++ b/pyaggr3g470r/templates/unread.html
@@ -16,6 +16,7 @@
<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-info-sign" title="Details"></i></a>
<a href="/edit_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a>
+ <a href="/mark_as_read/{{ feed.oid }}"><i class="glyphicon glyphicon-check" title="Mark all as read"></i></a>
<h3>{{ feed.articles|length }} unread articles.</h3>
</div>
</div>
bgstack15