aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyaggr3g470r/templates/feeds.html11
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
bgstack15