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

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

    {% endblock %} {% block content %}
    {% if object.kind == 'effort' %} {% elif object.kind == 'reduction' %} {% endif %}
    {% with iter_matrix=object.iter_pricing_matrix|list %} {% for matrix in iter_matrix %}
    {% if matrix.criteria %}

    {{ matrix.criteria.label }}

    {% endif %} {% if matrix.rows.0.cells.0.criteria %} {% for cell in matrix.rows.0.cells %}{% endfor %} {% endif %} {% for row in matrix.rows %} {% for cell in row.cells %} {% endfor %} {% endfor %}
    {{ cell.criteria.label }}
    {{ row.criteria.label }}{% spaceless %} {% if object.kind == 'effort' %} {{ cell.value|floatformat:"4"|default_if_none:"" }} {% else %} {{ cell.value|floatformat:"2"|default_if_none:"" }} {% endif %} {% endspaceless %}
    {% if user_can_manage %} {% endif %}
    {% empty %}
    {% blocktrans trimmed %} This pricing is misconfigured. {% endblocktrans %}
    {% endfor %} {% endwith %}
    {% if object.kind == 'effort' %} {% elif object.kind == 'reduction' %} {% endif %}
    {% endblock %} {% block sidebar %} {% endblock %}