X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=d98d1b13724d29d8f0a7100bffcda6230c4e5499;hb=454aec79b6fb6c59affdea254c929f333ceda7d8;hp=4e8b22c87728ac1a8f5c4490a820ab9c2a75f476;hpb=d872f626aac4a56a193845cd40e3527e3f975bc3;p=unfold.git diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index 4e8b22c8..d98d1b13 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -6,57 +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!

+ {%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