{# rows: list of reservations; actions: show cancel/end buttons #}
| {{ _('Person') }} | {% endif %}{{ _('Model') }} | {{ _('Machine') }} | {{ _('When') }} | {{ _('Status') }} | {% if actions %}{% endif %} |
|---|---|---|---|---|---|
| {{ r.owner_name }} {{ r.user.email }} | {% endif %}
{{ 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 %} | {% if actions %}
{% set steps = extend_options.get(r.id, []) if extend_options is defined else [] %}
{% if steps %}
|
{% endif %}