{% extends "base.html" %} {% load i18n static %} {% block main %}
{# This data-id "outletsGoogleMap" defines the div, that holds the actual map. The other id attribute is just for styling and reference. #}

{{ country.name }}

{% for outlet in object_list %} {# data-class is required to be outletDetails for the map markers to display. Keep it on the element above the lat/lon inputs to have markers visible on the map. #}
{# data-id is required on the anchor, that centers the map on the related map marker. The data-class=outletMapMarkerCenter is required to identify the anchor, that centers the map. #}

{{ outlet.name }}

{% if outlet.outlet_type %}

{{ outlet.outlet_type }}

{% endif %} {% if outlet.start_date or outlet.end_date %}

{% if outlet.start_date %} {% trans "Sale starts" %}: {{ outlet.start_date }} {% endif %} {% if outlet.end_date %} {% trans "Sale ends" %}: {{ outlet.end_date }} {% endif %}

{% endif %}

{{ outlet.street}}

{{ outlet.city }} {{ outlet.postal_code }}

{% if outlet.phone %}

{% trans "Tel" %}.: {{ outlet.phone}}

{% endif %}
{% endfor %}
{% endblock %} {# Add this to your overridden template #} {% block extra_js %} {% endblock %}