aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-12 11:07:27 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-12 11:07:27 +0100
commit28a3bb7b984012d9dde40b7e5400787e9c1dd485 (patch)
tree7ca55b78d087a2c67d3abf43b0e16e03b0f9ed8f /pyaggr3g470r/templates/home.html
parentRemoved useless print. (diff)
downloadnewspipe-28a3bb7b984012d9dde40b7e5400787e9c1dd485.tar.gz
newspipe-28a3bb7b984012d9dde40b7e5400787e9c1dd485.tar.bz2
newspipe-28a3bb7b984012d9dde40b7e5400787e9c1dd485.zip
Only display this icon if the feed is enabled.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 72ea1abc..8065ceb5 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -11,7 +11,9 @@
<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="/fetch/{{ feed.oid }}"><i class="glyphicon glyphicon-cloud-download" title="Fetch this feed"></i></a>
+ {% if feed.enabled %}
+ <a href="/fetch/{{ feed.oid }}"><i class="glyphicon glyphicon-cloud-download" title="Fetch this feed"></i></a>
+ {% endif %}
</div>
</div>
{% for number in range(0, feed.articles|length-(feed.articles|length % 3), 3) %}
bgstack15