{% extends "base.html" %} {% load i18n %} {% activetab "main" "time" %} {% block page-title %}{% trans "Weekly view" %}{% endblock %} {% block navigation %} {% activetab "main" "time" %} {{ block.super }} {% endblock %} {% block sub-navigation %} {% endblock %} {% block content %}
{% for day in days %} {% endfor %} {% for date, bookings in day_data %} {% endfor %} {% for sum in sum_data %} {% endfor %}
{{ day|date:"D" }} {{ day|date:"SHORT_DATE_FORMAT" }}
{% if bookings %} {% for booking in bookings %} {% endfor %}
{{ booking.duration|format_minutes_to_time }}
{{ booking.get_title|truncatewords:20 }}
{% endif %}
{% if sum %}{{ sum|format_minutes_to_time }}{% else %}----{% endif %}
{% if week_sum %}{{ week_sum|format_minutes_to_time }}{% else %}----{% endif %}
{% endblock %}