{% extends "base_satchmo.html" %} {% load satchmo_thumbnail i18n %} {% block pagename %}{{ brand.name }}{% endblock %} {% block extra-head %} {% if category.meta %} {% endif %} {% endblock %} {% block navbar %}
  • {% trans 'Home' %}
  • {% if brand.brand %}
  • {{ brand.brand.translation.name }}
  • {% endif %}
  • {{ brand.translation.name }}
  • {% endblock %} {% block content %} {% with brand.translation as translated %}

    {{ translated.name }}

    {% if translated.picture %} {{ translated.name }} {% endif %} {% if translated.description %}
    {{ translated.description|safe }}
    {% endif %} {% if user.is_staff or user.is_superuser %}

    Edit this brand

    {% endif %}
    {% if brand.has_content %} {% if brand.has_products %}
    {% for product in products %} {% endfor %}
    {% endif %} {% if brand.has_categories %}

    {% trans 'View more products in these categories' %}

    {% for cat in brand.active_categories %}{% with cat.translation as translatedcat %} {% endwith %}{% endfor %}
    {% endif %} {% endif %} {% if sale %} {% include "discount/some_eligible.html" %} {% endif %}
    {% endwith %} {% endblock %}