X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=d98d1b13724d29d8f0a7100bffcda6230c4e5499;hb=454aec79b6fb6c59affdea254c929f333ceda7d8;hp=944bcbe6707fb7f34830944db7bf9087c1c0fc04;hpb=5a690e87a71059403fe3872a5a11b437f22f0438;p=unfold.git diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index 944bcbe6..d98d1b13 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -6,54 +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 '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 @@ -232,14 +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-monitor.html" %} {# widget "_widget-stats-top-slices.html" #} {% endblock %}