1 {% extends "layout-unfold1.html" %}
4 <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/validate_pending.css" />
7 {% block unfold1_main %}
9 <h1>Pending requests</h1>
11 <h2>My authorities</h2>
13 {% if my_authorities %}
15 {% for authority, requests in my_authorities.items %}
16 <h3>{{authority}}</h3>
17 {% for request in requests %}
18 <div class='portal_validate_request {{request.type}} {% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}'>
19 <span class='type'>{{ request.type }}</span>
20 <span class='id'>{{ request.id }}</span>
21 <span class='timestamp'>{{ request.timestamp }}</span>
22 <span class='details'>{{ request.details }}</span>
23 {% if request.allowed == 'allowed' %}
24 <input type='checkbox'/>
26 {% if request.allowed == 'expired' %}
28 {% else %} {# denied #}
37 <i>There is no pending request waiting for validation.</i>
40 {% if delegation_authorities %}
41 <h2>Authorities with delegation</h2>
43 {% for authority, requests in delegation_authorities.items %}
44 <h3>{{authority}}</h3>
45 {% for request in requests %}
46 <div class='portal_validate_request {{request.type}} {% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}'>
47 <span class='type'>{{ request.type }}</span>
48 <span class='id'>{{ request.id }}</span>
49 <span class='timestamp'>{{ request.timestamp }}</span>
50 <span class='details'>{{ request.details }}</span>
51 {% if request.allowed == 'allowed' %}
52 <input type='checkbox'/>
54 {% if request.allowed == 'expired' %}
56 {% else %} {# denied #}