# HG changeset patch # User Sverre Rabbelier # Date 1234729676 0 # Node ID 582661519e5d8da77f8ebca952d9cce5ef35e554 # Parent 6be502a1bcc6309240757e3457c2e9e3e5b2958a Refactor various django templates to reuse other templates where possible Patch by: Sverre Rabbelier diff -r 6be502a1bcc6 -r 582661519e5d app/soc/templates/soc/base.html --- a/app/soc/templates/soc/base.html Sun Feb 15 20:27:09 2009 +0000 +++ b/app/soc/templates/soc/base.html Sun Feb 15 20:27:56 2009 +0000 @@ -92,7 +92,7 @@ {% endif %} {% if is_debug %} - + | Admin | {% endif %} diff -r 6be502a1bcc6 -r 582661519e5d app/soc/templates/soc/models/edit.html --- a/app/soc/templates/soc/models/edit.html Sun Feb 15 20:27:09 2009 +0000 +++ b/app/soc/templates/soc/models/edit.html Sun Feb 15 20:27:56 2009 +0000 @@ -29,6 +29,11 @@ Please use this form to edit the {{ entity_type }}. {% endblock %}
-
-{% block instructions %} -{{instruction_message}} -{% endblock %} -{% if error_message %} -
+ {% block instructions %} -Please use this form to edit the {{ entity_type }}. +{{ block.super }} {% if not gmaps_api_key %} Google Maps API key not present. Please login as administrator and insert your key in Site Settings, Google Maps field. {% endif %} {% endblock %} -