From 35b2743d23b3bd091da9e557e172e890f415e396 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 2 Apr 2013 22:34:13 +0100 Subject: [PATCH] Add a switch for geolocation. --- app/stores/templates/stores/store_map.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/stores/templates/stores/store_map.html b/app/stores/templates/stores/store_map.html index 0dedeb7..f580bc0 100644 --- a/app/stores/templates/stores/store_map.html +++ b/app/stores/templates/stores/store_map.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% load staticfiles %} +{% load waffle_tags %} {% block title %} Stores @@ -11,16 +12,15 @@ width: 100%; height: 600px; } - #geolocation { - display: none; - } {% endblock %} {% block scripts %} + {% switch map_geolocation %} + {% endswitch %}