From 44a5fa2ea0caa17c1efb4e5f072eb68d380f35f1 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 12 Apr 2015 17:32:17 +0200 Subject: Fix: test if we display the button to fetch article. --- pyaggr3g470r/templates/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r/templates/layout.html') 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 %}
  • {{ _('Favorites') }}
  • {% endif %} - {% if conf.ON_HEROKU and g.user.is_admin() %} + {% if not conf.ON_HEROKU or g.user.is_admin() %}
  • {{ _('Fetch') }}
  • {% endif %}