{# vim: ft=htmljinja #}
{{ firstDay|date('Y-m') }}
H | K | Sze | Cs | P | Szo | V | |
{{ firstDay|date('W') }} | {% set woy = firstDay|date('W') + 1 %} {% if firstDayWeekday != 1 %} {% for i in 1..firstDayWeekday - 1 %}{% endfor %} {% endif %} {% set curDow = firstDayWeekday %} {% for i in 1..numDays %} | 0 %} class="program" rel="{{ path('KekRozsakFrontBundle_eventAjaxList', {date: eventList[i].date|date('Y-m-d'), _format: 'html'}) }}"{% endif %}> {{ eventList[i].date|date('d') }} | {% if curDow is divisibleby(7) %} {% set curDow = 0 %}|||||
{{ woy }} | {% set woy = woy + 1 %} {% endif %} {% endif %} {% set curDow = curDow + 1 %} {% endfor %} {% if curDow != 1 %} {% for i in curDow..7 %}{% endfor %} {% endif %} |