{% extends "qommon/forms/widget.html" %} {% block widget-control %} {% with options=widget.get_options|list %} {% with first_monday=options.0.options.details.JOURDATE|adjust_to_week_monday last_option=options|last %} {% with last_day=last_option.options.details.JOURDATE|adjust_to_week_monday|add_days:6 %} {% endif %}
  • Semaine
    du {{day|date:"d/m"}} au {{day|add_days:6|date:"d/m"}}
  • {% endif %} {% endfor %} {% endwith %} {% endwith %} {% endwith %} {% endblock %}