X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fvalidate_pending.html;fp=portal%2Ftemplates%2Fvalidate_pending.html;h=dd7d5c27e1274a8a13dd3fd4aba3b1716a37494a;hb=d68dcefd28c832608cdb359a07a8b871cbe612ae;hp=0000000000000000000000000000000000000000;hpb=ac2dda758798f7e44de062d370763c639cc6a375;p=myslice.git diff --git a/portal/templates/validate_pending.html b/portal/templates/validate_pending.html new file mode 100644 index 00000000..dd7d5c27 --- /dev/null +++ b/portal/templates/validate_pending.html @@ -0,0 +1,66 @@ +{% extends "layout-unfold1.html" %} + +{% block head %} + +{% endblock %} + +{% block unfold1_main %} + +

Pending requests

+ +

My authorities

+ +{% if my_authorities %} + +{% for authority, requests in my_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 + {% endif %} + {% endif %} +
+ {% endfor %} +{% endfor %} + +{% else %} +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 + {% endif %} + {% endif %} +
+ {% endfor %} +{% endfor %} + +{% endif %} + +{% endblock %}