From 3cf8da647eb7fd6db15b1d51202ec03718cfdd72 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 12 Apr 2015 18:50:06 +0200 Subject: Do not display the search button on Heroku. --- pyaggr3g470r/templates/layout.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pyaggr3g470r/templates/layout.html') diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index 5aa62c3e..b5259d3b 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -65,7 +65,7 @@ {% else %}
  • {{ _('Favorites') }}
  • {% endif %} - {% if not conf.ON_HEROKU or g.user.is_admin() %} + {% if not ON_HEROKU or g.user.is_admin() %}
  • {{ _('Fetch') }}
  • {% endif %}
  • {{ _('Logout') }}
  • + {% if not ON_HEROKU %} + {% endif %} {% else %}
  •  {{ _('About') }}
  • {% endif %} -- cgit