diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-12 17:32:17 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-12 17:32:17 +0200 |
commit | 44a5fa2ea0caa17c1efb4e5f072eb68d380f35f1 (patch) | |
tree | 28df38c369c7960d8985490306afc55b66d393c2 /pyaggr3g470r/templates/layout.html | |
parent | It is now possible to add a new feed from any page via a dropdown menu. (diff) | |
download | newspipe-44a5fa2ea0caa17c1efb4e5f072eb68d380f35f1.tar.gz newspipe-44a5fa2ea0caa17c1efb4e5f072eb68d380f35f1.tar.bz2 newspipe-44a5fa2ea0caa17c1efb4e5f072eb68d380f35f1.zip |
Fix: test if we display the button to fetch article.
Diffstat (limited to 'pyaggr3g470r/templates/layout.html')
-rw-r--r-- | pyaggr3g470r/templates/layout.html | 2 |
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"> |