{% extends "datebook/base.html" %} {% load i18n %} {% block datebook_content %}
{% with month_datebook.dayentry_set.count as entries_counter %} {% if entries_counter > 0 %} {% blocktrans count counter=entries_counter %}{{ counter }} day{% plural %}{{ counter }} days{% endblocktrans %} {% else %} {% trans "Empty" %} {% endif %} {% endwith %}
{% else %} {% if user == author or user.is_superuser or perms.datebook.add_datebook %} {% else %}{% trans "Empty" %}
{% endif %} {% endif %}{% blocktrans with name=month_date|date:"F" year=month_date.year %}This will create a datebook for {{ name }} {{ year }}, confirm this.{% endblocktrans %}
×