aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-12 17:32:17 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-04-12 17:32:17 +0200
commit44a5fa2ea0caa17c1efb4e5f072eb68d380f35f1 (patch)
tree28df38c369c7960d8985490306afc55b66d393c2 /pyaggr3g470r
parentIt is now possible to add a new feed from any page via a dropdown menu. (diff)
downloadnewspipe-44a5fa2ea0caa17c1efb4e5f072eb68d380f35f1.tar.gz
newspipe-44a5fa2ea0caa17c1efb4e5f072eb68d380f35f1.tar.bz2
newspipe-44a5fa2ea0caa17c1efb4e5f072eb68d380f35f1.zip
Fix: test if we display the button to fetch article.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index d183f79b..2680eb81 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -65,7 +65,7 @@
{% else %}
<li><a accesskey="f" href="{{ url_for("favorites") }}"><span class="glyphicon glyphicon-star"></span> {{ _('Favorites') }}</a></li>
{% endif %}
- {% if conf.ON_HEROKU and g.user.is_admin() %}
+ {% if not conf.ON_HEROKU or g.user.is_admin() %}
<li><a accesskey="r" href="/fetch"><span class="glyphicon glyphicon-import"></span>{{ _('Fetch') }}</a></li>
{% endif %}
<li class="dropdown">
bgstack15