X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fvalidate_pending.html;h=497b70b551c7ca3e212d706284b193034892dd43;hb=2fc48349ba63a91c852b96a3e475c7e6b411d91b;hp=dd7d5c27e1274a8a13dd3fd4aba3b1716a37494a;hpb=d68dcefd28c832608cdb359a07a8b871cbe612ae;p=unfold.git
diff --git a/portal/templates/validate_pending.html b/portal/templates/validate_pending.html
index dd7d5c27..497b70b5 100644
--- a/portal/templates/validate_pending.html
+++ b/portal/templates/validate_pending.html
@@ -1,66 +1,225 @@
-{% extends "layout-unfold1.html" %}
+{% extends "layout.html" %}
{% block head %}
-
-{% endblock %}
+
+{% endblock %}
+
+{% block content %}
+
-
{{ request.type }}
-
{{ request.id }}
-
{{ request.timestamp }}
-
{{ request.details }}
- {% if request.allowed == 'allowed' %}
-
- {% else %}
- {% if request.allowed == 'expired' %}
- expired
- {% else %} {# denied #}
- denied
+ {% if my_authorities %}
+
+ {% for authority, requests in my_authorities.items %}
+
+
- {% endfor %}
-{% endfor %}
+ {% endfor %}
{% else %}
-
There is no pending request waiting for validation.
+
+ There is no pending request waiting for validation.
+
{% endif %}
-{% if delegation_authorities %}
-
Authorities with delegation
-
-{% for authority, requests in delegation_authorities.items %}
-
{{authority}}
- {% for request in requests %}
-
-
{{ request.type }}
-
{{ request.id }}
-
{{ request.timestamp }}
-
{{ request.details }}
- {% if request.allowed == 'allowed' %}
-
- {% else %}
- {% if request.allowed == 'expired' %}
- expired
- {% else %} {# denied #}
- denied
+{% if sub_authorities %}
+
+
Sub-Authorities
+
+ {% for authority, requests in sub_authorities.items %}
+
- {% endfor %}
-{% endfor %}
+ {% endfor %}
{% endif %}
+
+{% if delegation_authorities %}
+
+
Authorities with delegation
+
+ {% for authority, requests in delegation_authorities.items %}
+
+ {% endfor %}
+
+{% endif %}
+
+
+
{% endblock %}