{% extends base %} {% load i18n %} {% block content %}

{{ app_name }}: {% block content_title %}{% blocktrans %}Week {{ week }} of year {{ year }}{% endblocktrans %}{% endblock %}

{% block content_navi %}
{% block sequence_navi %} {% trans "Last week" %} {% trans "Next week" %} {% endblock %} {% for year in years_mentioned %} {% blocktrans with year.date|date:"Y" as year %}Year {{ year }}{% endblocktrans %} {% endfor %} {% for month in months_mentioned %} {{ month.date|date:"F Y"|capfirst }} {% endfor %} {% block extra_navi %}{% endblock %}
{% endblock %} {% block reserve_link %}
{% trans "Reserve" %}
{% endblock %} {% if business_hours %}

 

{% trans "Hour" %}

{% for hour in business_hours %}
{{ hour }}:00
{% endfor %}
{% for day in days %} {% endfor %}

{{ day.date|date:"l"|capfirst }}

{{ day.date|date:"j.n" }} {% trans "Reserve" %}
{% for event_column in day.event_columns %} {% endfor %}
{% for event in event_column %} {% cycle "odd" "even" as rowcolors silent %}
{% block event_body %}

{{ event.description }}

{{ event.creator_name }}

{% if event.one_day %}

{{ event.start|date:"G:i" }}—{{ event.stop|date:"G:i" }}

{% else %}

{{ event.start|date:"l j G:i" }}—{{ event.stop|date:"l j G:i" }}

{% endif %} {% if event.can_update %} {% trans "Edit" %} {% endif %} {% if event.can_remove %} {% trans "Delete" %} {% endif %} {% if event.long_description %} {% blocktrans count event.long_description|wordcount as desc_words %}One more word in details{% plural %}{{ desc_words }} words more in details{% endblocktrans %} {% endif %} {% endblock %}
{% endfor %}
{% else %}

{% trans "No reservations this week" %}

{% endif %}
{% endblock %}