{% extends "pretixcontrol/items/base.html" %} {% load i18n %} {% block title %}{% trans "Products" %}{% endblock %} {% block inside %}

{% trans "Products" %}

{% blocktrans trimmed %} Below, you find a list of all available products. You can click on a product name to inspect and change product details. You can also use the buttons on the right to change the order of products within a give category. {% endblocktrans %}

{% if items|length == 0 %}

{% blocktrans trimmed %} You haven't created any products yet. {% endblocktrans %}

{% trans "Create a new product" %}
{% else %}

{% trans "Create a new product" %}

{% regroup items by category as cat_list %} {% for c in cat_list %} {% for i in c.list %} {% endfor %} {% endfor %}
{% trans "Product name" %} {% trans "Category" %}
{% if not i.active %}{% endif %} {{ i }} {% if not i.active %}{% endif %} {% if i.available_from or i.available_until %} {% endif %} {% if i.admission %} {% endif %} {% if i.var_count %} {% endif %} {% if i.hide_without_voucher %} {% elif i.require_voucher %} {% endif %} {% if i.category %}{{ i.category.name }}{% endif %}
{% include "pretixcontrol/pagination.html" %} {% endif %} {% endblock %}