{# rows: list of reservations; actions: show cancel/end buttons #}
{% if show_owner %}{% endif %}{% if actions %}{% endif %} {% for r in rows %} {% if show_owner %}{% endif %} {% if actions %} {% endif %} {% endfor %}
{{ _('Person') }}{{ _('Model') }}{{ _('Machine') }}{{ _('When') }}{{ _('Status') }}
{{ 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)
{% if r.status == 'pending' %}{{ r.status_label }} {% elif r.status == 'confirmed' and now is defined and r.start <= now < r.end %}{{ _('Running') }} {% elif r.status == 'confirmed' %}{{ r.status_label }} {% else %}{{ r.status_label }}{% endif %} {% set steps = extend_options.get(r.id, []) if extend_options is defined else [] %} {% if steps %} {% endif %} {% if r.is_live and (now is not defined or r.end > now) %}
{{ action_form.csrf_token }}
{% endif %}