From 5030240ecbf71c912007ccacbdc33e598ded427e Mon Sep 17 00:00:00 2001 From: Alex Gibson Date: Tue, 17 Dec 2013 10:51:18 +0000 Subject: [PATCH] [bug 939393] Add Kerala local information to community page --- .../mozorg/contact/communities/kerala.html | 32 +++++++++++++++++++ .../mozorg/contact/contact-base.html | 3 ++ bedrock/mozorg/urls.py | 1 + media/js/mozorg/contact-data.js | 12 +++++++ 4 files changed, 48 insertions(+) create mode 100644 bedrock/mozorg/templates/mozorg/contact/communities/kerala.html diff --git a/bedrock/mozorg/templates/mozorg/contact/communities/kerala.html b/bedrock/mozorg/templates/mozorg/contact/communities/kerala.html new file mode 100644 index 0000000000..dce23f9b2f --- /dev/null +++ b/bedrock/mozorg/templates/mozorg/contact/communities/kerala.html @@ -0,0 +1,32 @@ +{# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. #} + +{% extends "mozorg/contact/contact-base.html" %} + +{% block page_title %}{{ _('Contacts, Spaces and Communities') }} — {{ _('Kerala') }}{% endblock %} + +{% block contact_entry %} +
+
+
+

{{ _('Kerala') }}

+ + + +
+ +
+
+
+
+{% endblock %} + + + diff --git a/bedrock/mozorg/templates/mozorg/contact/contact-base.html b/bedrock/mozorg/templates/mozorg/contact/contact-base.html index b79511305e..981b1beac4 100644 --- a/bedrock/mozorg/templates/mozorg/contact/contact-base.html +++ b/bedrock/mozorg/templates/mozorg/contact/contact-base.html @@ -310,6 +310,9 @@
  • {{ _('Japan') }}
  • +
  • + {{ _('Kerala') }} +
  • {{ _('Malaysia') }}
  • diff --git a/bedrock/mozorg/urls.py b/bedrock/mozorg/urls.py index 6aed9cae72..277a036adc 100644 --- a/bedrock/mozorg/urls.py +++ b/bedrock/mozorg/urls.py @@ -124,6 +124,7 @@ urlpatterns = patterns('', page('contact/communities/india', 'mozorg/contact/communities/india.html'), page('contact/communities/indonesia', 'mozorg/contact/communities/indonesia.html'), page('contact/communities/japan', 'mozorg/contact/communities/japan.html'), + page('contact/communities/kerala', 'mozorg/contact/communities/kerala.html'), page('contact/communities/malaysia', 'mozorg/contact/communities/malaysia.html'), page('contact/communities/myanmar', 'mozorg/contact/communities/myanmar.html'), page('contact/communities/nepal', 'mozorg/contact/communities/nepal.html'), diff --git a/media/js/mozorg/contact-data.js b/media/js/mozorg/contact-data.js index 8dacf8c39f..c33fbdbf38 100644 --- a/media/js/mozorg/contact-data.js +++ b/media/js/mozorg/contact-data.js @@ -615,6 +615,18 @@ "type":"Polygon", "coordinates":[[[108.05018,21.55238],[106.715065,20.69685],[105.88168,19.75205],[105.662,19.058165],[106.42682,18.004122],[107.36195,16.697456],[108.26949,16.079742],[108.877106,15.2766905],[109.335266,13.426028],[109.200134,11.66686],[108.36613,11.008321],[107.22093,10.364484],[106.40511,9.53084],[105.158264,8.59976],[104.79519,9.241038],[105.0762,9.91849],[104.334335,10.486544],[105.19991,10.88931],[106.24967,10.961812],[105.810524,11.567615],[107.4914,12.337206],[107.61455,13.535531],[107.38273,14.202441],[107.56452,15.202173],[107.312706,15.908538],[106.55601,16.604284],[105.92576,17.485315],[105.0946,18.666975],[103.89653,19.26518],[104.18339,19.624668],[104.82257,19.886642],[104.435,20.758734],[103.20386,20.766562],[102.7549,21.675137],[102.17043,22.464752],[102.70699,22.708796],[103.50452,22.703756],[104.47686,22.81915],[105.32921,23.352064],[105.81125,22.976892],[106.7254,22.794268],[106.567276,22.218204],[107.04342,21.8119],[108.05018,21.55238]]] } + }, + { + "type":"Feature", + "properties":{ + "name":"Kerala", + "feature-id":"kerala", + "layer-id":"moz-asia-south-pacific" + }, + "geometry":{ + "type":"Polygon", + "coordinates":[[[74.904785,12.768947],[75.00366,12.790375],[75.24536,12.586733],[75.41016,12.404389],[75.62988,12.168225],[75.79468,12.050065],[76.102295,11.9211035],[76.343994,11.781325],[76.38794,11.576907],[76.26709,11.490791],[76.4978,11.3615675],[76.519775,11.210733],[76.68457,10.930405],[76.89331,10.768556],[76.83838,10.25006],[77.211914,10.109486],[77.266846,9.719886],[77.2229,9.557417],[77.420654,9.535749],[77.20093,9.026153],[77.266846,8.8959255],[77.2229,8.7222185],[77.13501,8.331083],[77.08008,8.341953],[76.59668,8.8959255],[76.311035,9.503243],[76.15723,10.325727],[75.90454,10.811724],[75.79468,11.28616],[75.476074,11.8028345],[75.2124,12.050065],[74.904785,12.768947]]] + } } ] };