{% extends "base.html" %} {% load i18n bootstrap3 dv_filters %} {% block head_title %}{{ season.desc }}{% endblock %} {% block bootstrap3_extra_head %}{{ form.media.css }}{% endblock %} {% block bootstrap3_extra_script %}{{ form.media.js }}{% endblock %} {% block container-class %}container-fluid{% endblock %} {% block content %} {% include "challenge/season_header.html" with season=season only %}

{% trans "Planning" %}

{% include "challenge/season_availability_thead.html" with sessions=sessions season=season user=request.user preamble_columns=3 chosen_stats=True wishfield=True user_can_see_season=user_can_see_season only %} {% for helper_category,helpers in potential_helpers %} {% if helpers %} {% for helper in helpers %} {% include "challenge/season_availability_partial_helper_columns.html" with helper=helper availabilities=availabilities with_link=season.manager_can_crud %} {{ availabilities|useravailsessions_readonly:helper }} {% endfor %} {% if helpers.count > 10 %} {% include "challenge/season_availability_partial_head.html" with sessions=sessions season=season preamble_columns=5 user=request.user only %} {% endif %} {% endif %} {% endfor %}
{{ helper_category }}
{% trans "Retour au mois" %}
{% include 'export_buttons.html' with exporturl='season-planning-export' exportargs=season.pk filter_querystring=filter_querystring only %}
{% if season.manager_can_crud %}
{% csrf_token %} {% bootstrap_form form %} {% buttons %} {% endbuttons %}
{% trans "Attribuer les moniteurs" %} {% endif %}
{% endblock %}