From d9fdf40f1c53111271a5954a00c33a44a15f349e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 23 Mar 2015 15:57:15 +0100 Subject: [PATCH] add cournonterral and lattes to portail citoyen (#6264) --- portail-citoyen/templates/blurps/demarches.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/portail-citoyen/templates/blurps/demarches.html b/portail-citoyen/templates/blurps/demarches.html index 38e8683..272c714 100644 --- a/portail-citoyen/templates/blurps/demarches.html +++ b/portail-citoyen/templates/blurps/demarches.html @@ -70,6 +70,16 @@ $(document).ready(function () { city_to_id_map['Sussargues'] = 'sussargues'; id_to_city_map['sussargues'] = 'Sussargues'; {% endif %} + {% if cournonterral %} + demarches['cournonterral'] = {{ cournonterral.data|jsonify }}; + city_to_id_map['Cournonterral'] = 'cournonterral'; + id_to_city_map['cournonterral'] = 'Cournonterral'; + {% endif %} + {% if lattes %} + demarches['lattes'] = {{ lattes.data|jsonify }}; + city_to_id_map['Lattes'] = 'lattes'; + id_to_city_map['lattes'] = 'Lattes'; + {% endif %} var city = '{{ user.socialaccount_set.all.0.extra_data.ville }}'; var city_id = city_to_id_map[city]; if (demarches[city_id] != undefined && demarches[city_id].length > 0) {