{% extends "core/base.jinja" %} {% block title %} {% trans %}Eboutic{% endtrans %} {% endblock %} {% block jquery_css %} {# Remove jquery css #} {% endblock %} {% block additional_js %} {# This script contains the code to perform requests to manipulate the user basket without having to reload the page #} {% endblock %} {% block additional_css %} {% endblock %} {% block content %}

{% trans %}Eboutic{% endtrans %}

Panier

{% if errors %}
{% for error in errors %}

{{ error }}

{% endfor %} {% trans %}Your basket has been cleaned accordingly to those errors.{% endtrans %}
{% endif %}
{% csrf_token %}
{% if not request.user.date_of_birth %}
{% trans %}You have not filled in your date of birth. As a result, you may not have access to all the products in the online shop. To fill in your date of birth, you can go to{% endtrans %} {% trans %}this page{% endtrans %}
{% endif %} {% for priority_groups in products|groupby('priority')|reverse %} {% for category, items in priority_groups.list|groupby('category') %} {% if items|count > 0 %}
{# I would have wholeheartedly directly used the header element instead but it has already been made messy in core/style.scss #}

{{ category }}

{% if items[0].category_comment %}

{{ items[0].category_comment }}

{% endif %}
{% for p in items %} {% endfor %}
{% endif %} {% endfor %} {% else %}

{% trans %}There are no items available for sale{% endtrans %}

{% endfor %}
{% endblock %}