0001-publik-famille-set-week-to-display-in-calendar-widge.patch
templates/qommon/forms/widgets/famille-reservations-par-semaine.html | ||
---|---|---|
14 | 14 |
{% if not forloop.first %}</ul></li>{% endif %} |
15 | 15 |
<li class="week{% if forloop.first %} shown{% endif %}"><span class="week-title">Semaine<br class="weekbreak"> du {{day|date:"d/m"}} au {{day|add_days:6|date:"d/m"}}</span><ul> |
16 | 16 |
{% endif %} |
17 |
<li class="day-title {% if now == day|date:"Y-m-d" %}current{% endif %}" data-weekday="{{day.weekday}}"><strong>{{day|date:"l d/m"}}</strong></li> |
|
17 |
<li class="day-title {% if form.var.current_day == day|date:"Y-m-d" or not form.var.current_day and now == day|date:"Y-m-d" %}current{% endif %}" data-weekday="{{day.weekday}}"><strong>{{day|date:"l d/m"}}</strong></li>
|
|
18 | 18 |
{% with day_str=day|date:"Y-m-d" %} |
19 | 19 |
{% for option in options %} |
20 | 20 |
{% if option.options.date == day_str %} |
21 |
- |