{% extends "datebook/base.html" %} {% load i18n autobreadcrumb crispy_forms_tags %} {% block head_base_js %}{{ block.super }} {% endblock %} {% block datebook_container_css_classes %} large-row-fluid{% endblock %} {% block datebook_maintitle %}
Total | {% blocktrans with time_clock=datebook_calendar.total_elapsed_time %}{{ time_clock }}h{% endblocktrans %} |
---|---|
Including overtime | {% blocktrans with time_clock=datebook_calendar.total_overtime_time %}{{ time_clock }}h{% endblocktrans %} |
Vacations | {% blocktrans count counter=datebook_calendar.total_vacation %}{{ counter }} day{% plural %}{{ counter }} days{% endblocktrans %} |
{% trans "Vacation" %}
{% else %}{% trans "Empty content" %}
{% endif %} {% endif %} {% else %} {% if user == author or user.is_superuser or perms.datebook.add_dayentry %} {% url 'datebook:day-add' author=author year=datebook.period.year month=datebook.period.month day=day.date.day as add_url %}{% blocktrans with add_url=add_url %}There is no entry yet, add it{% endblocktrans %}
{% else %}{% blocktrans %}There is no entry yet{% endblocktrans %}
{% endif %} {% endif %}