From 33d9d7fa2744d7fb1490070aefc81762bf1110a3 Mon Sep 17 00:00:00 2001 From: Tim Buckley Date: Wed, 19 Aug 2015 15:47:51 -0600 Subject: [PATCH] Hide "online" menu items with django conditional instead of JS --- stackviz/templates/menu.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/stackviz/templates/menu.html b/stackviz/templates/menu.html index 3f24ace..258da7c 100644 --- a/stackviz/templates/menu.html +++ b/stackviz/templates/menu.html @@ -40,6 +40,7 @@ + {% if not offline %}
  • Upstream
  • + {% endif %} -