X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=d98d1b13724d29d8f0a7100bffcda6230c4e5499;hb=454aec79b6fb6c59affdea254c929f333ceda7d8;hp=4afaf5d9812dde57229b5a1a0d72d8de0f5c7953;hpb=d0e9b255a79411a4d214f95ec81eeb1b67ecc74f;p=unfold.git diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index 4afaf5d9..d98d1b13 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -6,9 +6,17 @@ {% widget '_widget-news.html' %} --> {% if username %} +{% widget "_widget-no_credentials.html" %}
+ {%if 'no_creds' in user_cred %} +

NO CREDENTIALS are delegated to the portal!

+ {%endif%} + {%if 'creds_expired' in user_cred %} +

EXPIRED CREDENTIALS Please delegate again your credentials to the portal!

+ {%endif%} +
- {%if 'is_pi' in pi %} + {% if request.session.user.pi %}

EXPERIMENT @@ -17,14 +25,17 @@

- +

Your slices - - + + +

@@ -85,7 +96,9 @@

Your slices

@@ -93,6 +106,18 @@
Loading Slices
+ {% if pending_slices %} +

Pending slices + +

    + {% for slices in pending_slices %} +
  • {{slices}}
  • + {% endfor %} +
+ +

+ {%endif%}

@@ -159,7 +184,7 @@ $('div#'+$(this).data('panel')).show(); }); $('button#validaterequestbtn').click(function() { - window.location="/portal/validate/"; + window.location="/portal/institution#requests"; }); $('button#ticketbtn').click(function() { window.location="/portal/contact/"; @@ -170,11 +195,12 @@ $('button#slicerequestbtn').click(function() { window.location="/portal/slice_request/"; }); -/*------- -List of slices has been moved in -portal/templates/base.html -This should go into session ---------*/ + + myslice.loadSlices(); + }); +{% widget "_widget-monitor.html" %} +{# widget "_widget-stats-top-slices.html" #} + {% endblock %}