X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fhome-view.html;h=379547cc32cc83e42cfc68330e561d3a4853d7c3;hb=6949cc526323aca69ac4af7ded37bfe8c6ab07e6;hp=c00869222b895f0d7c48c0d460987390155b6f73;hpb=00dc99e4482d8f4086e6595ec192855c83a1439a;p=unfold.git diff --git a/portal/templates/home-view.html b/portal/templates/home-view.html index c0086922..379547cc 100644 --- a/portal/templates/home-view.html +++ b/portal/templates/home-view.html @@ -1,91 +1,180 @@ -{% extends "layout.html" %} +{% extends "layout_base.html" %} {% load portal_filters %} {% block content %} -
ACCOUNT | -SLICES | -SUPPORT | -|
- | - | - | |
-
-
- {% if person.last_name %}
- {{person.first_name}} {{person.last_name}}
- {% else %}
- - {% endif %} - Email: {{person.email}} - | - {% widget '_widget-login-user.html' %} - {% endif %} - | -
- {% if person %}
-
-
- {% else %}
-
+
+{% 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%} + + |
- - - | -