{% extends "oscar/layout.html" %} {% load i18n %} {% load thumbnail %} {% block content %}

{% blocktrans with name=store.name %} Welcome to our {{ name }} store {% endblocktrans %}

{% trans "Back to all stores" %}
{% if store.image or store.description %}

{% trans "Store Details" %}

{% thumbnail store.image "250x400" upscale=True as thumb %} {% blocktrans with name=store.name %}Picture of the {{ name }} store.{% endblocktrans %} {% endthumbnail %}
{% include "stores/partials/store_address.html" %} {% include "stores/partials/store_contact.html" %}
{{ store.description|safe }}
{% endif %}
{% with periods=store.opening_periods.all %} {% if periods|length %}
{% trans "Opening Hours" %}
{% for period in periods %} {% endfor %}
{{ period.printable_weekday }} {{ period.printable_period }}
{% endif %} {% endwith %}
{% endblock %} {% block extrascripts %} {{ block.super }} {% include "stores/partials/extrascripts.html" %} {% endblock %} {% block onbodyload %} $('.store-map').each(function(elem) { stores.maps.createIndividualMap(this, $('.store-details address'), 16); $(this).css({width: $(this).parents('.row-fluid').width()}); }); {% endblock %}