{% extends "header.html" %} {% import 'elements.html' as elm %} {% block title %} Requests queue {% endblock %} {% block content %}

Request queue

{% for active_actions, request in requests %} {% if request['status'].lower() in ['failure', 'exception'] %} {% for exception in request.get('exceptions', []) %} {% endfor %} {% endif %} {% endfor %}
Essence User Create/Start/Finish Type Status Sandbox Commit Change details Actions
{{ request['essence']['name'] }} {{ request['author'] }} {{ request['time']['added'].strftime("%d-%m %H:%M") }} {% if is_admin %} {% if request['time'].get('added') and request['time'].get('enqueued') %} ({{ (request['time']['enqueued'] - request['time']['added']).seconds // 60 }}m) {% endif %} {% if request['time'].get('enqueued') %}
{{ request['time']['enqueued'].strftime("%H:%M") }} {% endif %} {% if request['time'].get('enqueued') and request['time'].get('started') %} ({{ (request['time']['started'] - request['time']['enqueued']).seconds // 60 }}m) {% endif %} {% if request['time'].get('started') %}
{{ request['time']['started'].strftime("%H:%M") }} {% endif %} {% if request['time'].get('finished') %} - {{ request['time']['finished'].strftime("%H:%M") }} {% endif %} {% if request['time'].get('started') and request['time'].get('finished') %} ({{ (request['time']['finished'] - request['time']['started']).seconds // 60 }}m) {% endif %} {% endif %}
{{ request['type'] }} {{ request['status'] }} {% if request['sb_task_id'] %} {{ request['sb_task_id'] }} {% endif %} {{ request.get('commit', '') }} Details {% if active_actions or is_admin %} {% if not request['sb_task_id'] or is_admin %} {% endif %} {% if request['status'] in ['success', 'failure', 'exception'] or is_admin %} {% endif %} {% if request['status'].lower() in ['failure', 'exception'] %}
{% endif %} {% endif %}
{{ elm.footer() }} {% endblock %}