{% extends "djangobmf/module_generic.html" %} {% load i18n %} {% block filter %}

{{ current_period_start|date:"DATE_FORMAT" }} - {{ current_period_end|date:"DATE_FORMAT" }}

{% trans "Goto" %}: {% if current_period == "year" %} {% if previous_period %}{{ previous_period|date:'Y' }}{% endif %} {% if next_period %}{{ next_period|date:'Y' }}{% endif %} {% endif %} {% if current_period == "month" %} {% if previous_period %}{{ previous_period|date:'N Y' }}{% endif %} {% if next_period %}{{ next_period|date:'N Y' }}{% endif %} {% endif %} {% if current_period == "day" %} {% if previous_period %}{{ previous_period|date:"DATE_FORMAT" }}{% endif %} {% if next_period %}{{ next_period|date:"DATE_FORMAT" }}{% endif %} {% endif %} {% if current_period == "week" %} {% if previous_period %}{% trans "Week" %}{{ previous_period|date:dateformat.week }} {{ previous_period|date:'Y' }}{% endif %} {% if next_period %}{{ next_period|date:"DATE_FORMAT" }}{% endif %} {% endif %}

{{ current_period }} {{ current_period_start }} {{ current_period_end }} {{ next_period }} {{ previous_period }} {{ dateformat }}
{% endblock %}