{% extends "lingo/pricing/manager_pricing_list.html" %} {% load i18n %} {% block breadcrumb %} {{ block.super }} {{ object }} {% endblock %} {% block appbar %}

{{ object }} [{% trans "identifier:" %} {{ object.slug }}]

{% endblock %} {% block content %}

{% trans "Variables" %}

{% if object.extra_variables %}

{% for key in object.get_extra_variables_keys %}{{ key }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} {% trans 'Define variables' %}

{% trans "Criterias" %}

{% with criterias=object.criterias.all categories=object.categories.all %} {% if categories %}
{% blocktrans %}Use drag and drop with the ⣿ handles to reorder categories.{% endblocktrans %}
{% endif %}
{% for category in categories %}

{% trans "Category:" %} {{ category }}

{% trans "Selected criterias:" %}

    {% for criteria in criterias %} {% if criteria.category == category %}
  • {{ criteria }}
  • {% endif %} {% endfor %}

{% trans "Change criterias selection" %} {% trans "Remove this category" %}

{% endfor %} {% if object.categories.count < 3 %}

{% trans "Add a category" %} ({% trans "max 3 categories" %})

{% endif %} {% endwith %}
{% endblock %}