From 81857ad29522ed335be76d9734d6909a28907066 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 11 Apr 2013 18:26:58 +0100 Subject: [PATCH] Further refinements to the store details page for metadata. --- app/stores/templates/stores/store_detail.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/stores/templates/stores/store_detail.html b/app/stores/templates/stores/store_detail.html index f84eef9..e8507c8 100644 --- a/app/stores/templates/stores/store_detail.html +++ b/app/stores/templates/stores/store_detail.html @@ -45,7 +45,7 @@ $(document).ready(function(){initialize_map_store()}); {% endblock %} {% block content %} -
+
@@ -70,6 +70,9 @@ $(document).ready(function(){initialize_map_store()}); {% endfor %} {% endif %} +
{% if user.is_authenticated and not store.editor or user.is_superuser %} @@ -81,9 +84,9 @@ $(document).ready(function(){initialize_map_store()}); {% endif %} {% if store.chain %}

Chain: {{ store.chain }}

{% endif %}

Type: {{ store.get_store_type_display }}

-
+

Address

-
    +
    • {{ store.name }}
    • {{ store.address.address1 }}
    • {% if store.address.address2 %}
    • {{ store.address.address2 }}
    • {% endif %} @@ -95,7 +98,7 @@ $(document).ready(function(){initialize_map_store()});

    Contact Details

    -
      +
        {% if store.website %}
      • Website: {{ store.website }}
      • {% endif %} {% if store.email %}
      • Email: {{ store.email }}
      • {% endif %} {% if store.phone %}
      • Phone: {{ store.phone }}
      • {% endif %} @@ -111,7 +114,6 @@ $(document).ready(function(){initialize_map_store()});

Last Updated: {{ store.changed }}

-
{% flag_form store %}