{% load i18n apphooks_config_tags %} {% spaceless %} {% for day, events, css_classes in calendar_tag.calendar %} {% if forloop.counter0 != 0 and forloop.counter0|divisibleby:'7' %} {% endif %} {% if events %} {{ day|date:'d' }} {% else %} {{ day|date:'d' }} {% endif %} {% endfor %}
{% trans "Mo" %} {% trans "Tu" %} {% trans "We" %} {% trans "Th" %} {% trans "Fr" %} {% trans "Sa" %} {% trans "Su" %}
{% endspaceless %}