mhall119 has proposed merging lp:~mhall119/loco-directory/fixes-581641 into
lp:loco-directory.
Requested reviews:
loco-directory-dev (loco-directory-dev)
Related bugs:
#581641 reapprovals throws google maps API warning
https://bugs.launchpad.net/bugs/581641
Wrap the Google Maps API initialization in a named template block, and replace
it with nothing in the 500.html template.
--
https://code.launchpad.net/~mhall119/loco-directory/fixes-581641/+merge/25437
Your team loco-directory-dev is requested to review the proposed merge of
lp:~mhall119/loco-directory/fixes-581641 into lp:loco-directory.
=== modified file 'loco_directory/templates/500.html'
--- loco_directory/templates/500.html 2010-02-15 17:01:55 +0000
+++ loco_directory/templates/500.html 2010-05-17 14:15:39 +0000
@@ -3,6 +3,7 @@
{% block title %} {% trans " The team does not exist | Ubuntu LoCo Team Directory" %} {% endblock %}
+{% block initmap %}{% endblock %}
{% block content %}
<div class="mainpage">
=== modified file 'loco_directory/templates/base.html'
--- loco_directory/templates/base.html 2010-05-02 17:33:13 +0000
+++ loco_directory/templates/base.html 2010-05-17 14:15:39 +0000
@@ -12,6 +12,7 @@
<link type="text/css" rel="stylesheet" media="all" href="http://www.ubuntu.com/sites/all/themes/ubuntu09/styles/ubuntu09.css?3" />
<style type="text/css" media="all">@import "/media/css/newstyle.css";</style>
+{% block initmap %}
<script src="http://maps.google.com/maps?file=api&v=2&key={{ google_api_key }}" type="text/javascript"></script>
<script type="text/javascript">
@@ -27,6 +28,7 @@
}
</script>
+{% endblock %}
{% block extrahead %}{% endblock %}
</head>
_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help : https://help.launchpad.net/ListHelp