{% extends "base.html" %} {% block title %}Configuration agenda{% endblock %} {% block content %}

Configuration agenda for {% if time_period == 'today' %}today{% elif time_period == 'near_future' %}the near future{% endif %}

{% if tools %}

Below is a list of reservations which require tool configurations. The reservations are grouped by tool and ordered by start time. Reservations that have a red background were created on short notice, thus there is no guarantee the tool will be configured properly when the user arrives. Reservations that have already started or have no configuration information are excluded. You can also {% if time_period == 'today' %} view reservations in the near future {% elif time_period == 'near_future' %} view reservations for today {% endif %} that will require configuration changes.

{% for tool in tools %} {% regroup reservations|dictsort:"tool.id" by tool as regrouped_reservations %} {% for t in regrouped_reservations %} {% if t.grouper.id == tool.id %} {% for reservation in t.list %} {% if forloop.first %} {% endif %} {% endfor %} {% endif %} {% endfor %}
{{ tool.name }}

{{ reservation.user }}
{% if reservation.project %}{{ reservation.project }}
{% endif %} {{ reservation.start }}
{{ reservation.end }}
{{ reservation.additional_information|linebreaksbr }}

{% if not reservation.tool.in_use and reservation.project %} {% endif %}
{% for id, widget in configuration_widgets.items %} {% if tool.id == id %} {{ widget }} {% endif %} {% endfor %} {% if reservation.tool.in_use %} {% if reservation.tool.get_current_usage_event.operator.id == user.id %} {% else %} {% endif %} {% else %} {% if user.active_project_count == 1 %} {% elif user.active_project_count > 1 %}
{% endif %} {% endif %}
{% endfor %} {% else %}

No tools require configuration {% if time_period == 'today' %}today{% elif time_period == 'near_future' %}for the near future{% endif %}.

You can also {% if time_period == 'today' %} view reservations in the near future {% elif time_period == 'near_future' %} view reservations for today {% endif %} that will require configuration changes.

{% endif %} {% endblock %}