{% extends shell('app') %} {% block title %}{{ _('Bookings') }}{% endblock %} {% block content %}

{{ _('Bookings') }}

{% if approval != 'never' or pending %}

{{ _('Pending') }} {{ pending|length }}

{% if pending %}
{% for r in pending %} {% endfor %}
{{ _('Person') }}{{ _('Model') }}{{ _('Machine') }}{{ _('When') }}{{ _('Decision') }}
{{ r.owner_name }}
{{ r.user.email }}
{{ r.model }}
{{ _('%(gb)s GB of RAM', gb=r.memory_gb) }} · {{ r.mode_label }}{% if r.note %}
{{ r.note }}{% endif %}
{{ nodes_label(r.node_list) }} {{ pretty(r.start) }}
→ {{ pretty(r.end) }} ({{ '%g' % (r.hours|round(1)) }} h)
{{ action_form.csrf_token }}
{{ action_form.csrf_token }}
{% else %}

{{ _('None.') }}

{% endif %} {% endif %}

{{ _('Upcoming') }}

{% if upcoming %} {% with rows=upcoming, actions=true, show_owner=true %}{% include "reservations/_table.html" %}{% endwith %} {% else %}

{{ _('None.') }}

{% endif %} {% endblock %}