{% extends "datebook/base.html" %} {% load i18n %} {% block head_base_js %}{{ block.super }} {% endblock %} {% block datebook_container_css_classes %} large-row-fluid{% endblock %} {% block datebook_content %}
{% spaceless %} {% for classname, name in datebook_calendar.weekheader %} {% trans name %} {% endfor %} {% endspaceless %}
{% spaceless %} {% for week in datebook_calendar.month %}
Week {{ forloop.counter }}
{% for day in week %} {% cycle 'mon' 'tue' 'wed' 'thu' 'fri' 'sat' 'sun' as day_name silent %}
{% if not day.noday %}

{{ day.date|date:"l d F" }}

{% if day.entry %} {% if day.entry.vacation %}

Vacation

{% else %} {% comment %}

{{ day.entry.get_working_hours }} {{ day.entry.get_elapsed_time }}

{% endcomment %}
  • {{ day.entry.get_working_hours }}
  • {{ day.entry.get_elapsed_time }}
{% if day.entry.content %}
{{ day.entry.content|linebreaks }}
{% else %}

Empty content

{% endif %} {% endif %} {% else %}

There is no entry yet, add one

{% endif %}
{% endif %}
{% endfor %}
{% endfor %} {% endspaceless %}
{% endblock %} {% block foot_more_js %}
{% endblock %}