X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fvalidate_pending.html;h=74176ea329d4785e6142e3dc0c7daef8173fd1ec;hb=26d84333b968352f844b47740021dd2a2fcafa41;hp=dd7d5c27e1274a8a13dd3fd4aba3b1716a37494a;hpb=c381d920d9a359eab2b11cb15e88ab1f4e55a82e;p=myslice.git
diff --git a/portal/templates/validate_pending.html b/portal/templates/validate_pending.html
index dd7d5c27..74176ea3 100644
--- a/portal/templates/validate_pending.html
+++ b/portal/templates/validate_pending.html
@@ -2,6 +2,47 @@
{% block head %}
+
{% endblock %}
{% block unfold1_main %}
@@ -19,9 +60,20 @@
{{ request.type }}
{{ request.id }}
{{ request.timestamp }}
- {{ request.details }}
+ {{ request.authority_hrn }}
+
+ {% if request.type == 'user' %}
+ First name: {{request.first_name}} -- Last name: {{request.last_name}} -- Email: {{request.email}}
+ {% else %}
+ {% if request.type == 'slice' %}
+ Number of nodes: {{request.number_of_nodes}} -- Type of nodes: {{request.type_of_nodes}} -- Purpose: {{request.purpose}}
+ {% else %} {# authority #}
+ TODO
+ {% endif %}
+ {% endif %}
+
{% if request.allowed == 'allowed' %}
-
+
{% else %}
{% if request.allowed == 'expired' %}
expired
@@ -29,6 +81,7 @@
denied
{% endif %}
{% endif %}
+
{% endfor %}
{% endfor %}
@@ -49,7 +102,7 @@
{{ request.timestamp }}
{{ request.details }}
{% if request.allowed == 'allowed' %}
-
+
{% else %}
{% if request.allowed == 'expired' %}
expired
@@ -57,10 +110,13 @@
denied
{% endif %}
{% endif %}
+
{% endfor %}
{% endfor %}
{% endif %}
+
+
{% endblock %}