X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fmanagement-tab-requests.html;h=dad0e6e7a8247cf8344f9ae3569ab0593d706915;hb=aa013b53ba402e3e46625cf8443272aa5cdf5f57;hp=d36027be91c8ce254b1e08ed1c9b12c3cac1af2f;hpb=418b04968b4b452f1ac0fba0beaeabdec713c6fb;p=myslice.git
diff --git a/portal/templates/management-tab-requests.html b/portal/templates/management-tab-requests.html
index d36027be..dad0e6e7 100644
--- a/portal/templates/management-tab-requests.html
+++ b/portal/templates/management-tab-requests.html
@@ -1,6 +1,18 @@
+
From your authorities
{% if my_authorities %}
-
+
+
+
+
+ ID |
+ |
+ Type |
+ Authority |
+ Info |
+ Date |
+ Status |
+
+
+
{% for authority, requests in my_authorities.items %}
-
-
{{authority}}
-
-
-
-
+
+ {{ request.type }} |
+ {{authority}}{{request.site_authority}} |
+
+ {% if request.type == 'user' %}
+ {{request.first_name}} {{request.last_name}} <{{request.email}}>
+ {% elif request.type == 'slice' %}
+ {{request.slice_name}} -- Number of nodes: {{request.number_of_nodes}} -- Type of nodes: {{request.type_of_nodes}} -- Purpose: {{request.purpose}}
+ {% else %}
+ {{request.site_name}} ({{request.site_authority}}) -- {{request.address_city}}, {{request.address_country}}
+ {% endif %}
+ |
+ {{ request.timestamp }} |
+
+ |
+
+
+
+
+ {% endfor %}
+
{% endfor %}
-
+
+
+
{% else %}
There is no pending request waiting for validation.
{% endif %}
+
+
+{% if sub_authorities %}
From your sub-authorities
-{% if sub_authorities %}
-
+
{% for authority, requests in sub_authorities.items %}
{{authority}}
@@ -198,18 +216,13 @@
{% endfor %}
-{% else %}
-
- There is no pending request waiting for validation.
-
{% endif %}
+{% if delegation_authorities %}
From your authorities with delegation
-{% if delegation_authorities %}
-
{% for authority, requests in delegation_authorities.items %}
{{authority}}
@@ -257,13 +270,9 @@
{% endfor %}
-{% else %}
-
- There is no pending request waiting for validation.
-
{% endif %}
-
+