{% 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 %}
{% blocktrans %}Total{% endblocktrans %} | {% blocktrans with time_clock=datebook_calendar.total_elapsed_time %}{{ time_clock }}h{% endblocktrans %} |
---|---|
{% blocktrans %}Including overtime{% endblocktrans %} | {% blocktrans with time_clock=datebook_calendar.total_overtime_time %}{{ time_clock }}h{% endblocktrans %} |
{% blocktrans %}Vacations{% endblocktrans %} | {% blocktrans count counter=datebook_calendar.total_vacation %}{{ counter }} day{% plural %}{{ counter }} days{% endblocktrans %} |
{% trans "Empty" %}
{% endif %} {% if user == author or user.is_superuser or perms.datebook.change_datebook %} {% blocktrans %}Edit{% endblocktrans %} {% endif %}{% 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 %}