{% extends "base.html" %} {% load i18n %} {% block page-title %} {% trans "Timeline" %} {% endblock %} {% block sub-navigation %} {% endblock %} {% block content %}
{% if bookings_today %}

{% trans "Today" %}

    {% for booking in bookings_today %} {% include "timeline_row.html" %} {% endfor %}
{% endif %} {% if bookings_last_week %}

{% trans "Last 7 days" %}

    {% for booking in bookings_last_week %} {% include "timeline_row.html" %} {% endfor %}
{% endif %} {% if bookings_last_month %}

{% trans "Last 30 days" %}

    {% for booking in bookings_last_month %} {% include "timeline_row.html" %} {% endfor %}
{% endif %}
{% endblock %}