{% extends "_shell.html" %} {% from "_macros.html" import service_error %} {% block title %}P104 Requests{% endblock %} {% block content %}

REQUESTS

{% if ombi.status != 'ok' %}
Ombioff air
{{ service_error('Ombi', ombi.error) }} {% else %} {#- Pending requests are the only thing here that wants a human, so a page holding any is set heavier than one holding none (discipline 5). The ids are what the verdict buttons write back to when a decision empties the queue, so the page stops contradicting itself. -#}
Awaiting A Decision {{ ombi.total_pending }} of {{ ombi.total_requests }}
{{ ombi.total_pending }}
Pending
{{ ombi.total_requests }}
All time
{% if ombi.recent %}
Latest
{% for r in ombi.recent %}
{{ (r.type or '') | upper }} {{ r.title }} {{ r.user }}{% if r.requested_date %} · {{ r.requested_date[:10] }}{% endif %} {%- set st = (r.status or '') | lower -%} {{ (r.status or '—') | upper }} {#- Magenta says a human must decide; these are the two things that human can decide, offered only on the rows actually waiting. Both take a confirming second press, the same two-tap the add buttons use — an approval starts a download and a denial is somebody's answer. -#} {% if st == 'pending' and r.id %} {% endif %}
{% endfor %}
{% else %}

No requests on record.

{% endif %} {% endif %} {% endblock %}