{% load i18n %} {% load dv_filters %} {% with can_crud=user|can:'challenge_season_crud' %}   {% if chosen_stats %}{% trans "Sél." %}{% endif %} {% if wishfield %}{% trans "Qualifs max" %}{% endif %} {% for session in sessions %} {% if session.orga.abbr %}{{ session.orga.abbr_verb }}{% else %}{{ session.orga.name }}{% endif %} {% endfor %} {% for session in sessions %} {% if session.address_city %}{{ session.address_city }}{% elif session.orga.address_city %}{{ session.orga.address_city }}{% endif %} {% endfor %} {% for session in sessions %} {{ session.day|date:"D" }} {{ session.day|date_ch_short }} {% endfor %} {% for session in sessions %} {{ session.begin|date:"H\hi" }} {{ session.end|date:"H\hi" }} {% endfor %} {% for session in sessions %} {% if can_crud or user_can_see_season and session.visible %} {% endif %} {% blocktrans count n=session.n_qualifs|add:'0' %}1 Qualif’{% plural %}{{ n }} Qualifs{% endblocktrans %} {% if can_crud or user_can_see_season and session.visible %} {% endif %} {% endfor %} {% if chosen_stats %} {% for session in sessions %}
{% with c=session.n_leaders %}
{% trans "M2" %}
{% if c < session.helper_needs.2 %} {{ c }}/{{ session.helper_needs.2 }} {% elif c == session.helper_needs.2 %} {% else %} {{ c }}/{{ session.helper_needs.2 }} {% endif %}
{% endwith %} {% with c=session.n_helpers %}
{% trans "M1" %}
{% if c < session.helper_needs.1 %} {{ c }}/{{ session.helper_needs.1 }} {% elif c == session.helper_needs.1 %} {% else %} {{ c }}/{{ session.helper_needs.1 }} {% endif %}
{% endwith %} {% with c=session.n_actors %}
{% trans "Int." %}
{% if c < session.actor_needs %} {{ c }}/{{ session.actor_needs }} {% elif c == session.actor_needs %} {% else %} {{ c }}/{{ session.actor_needs }} {% endif %}
{% endwith %}
{% endfor %} {% endif %} {% endwith %}