X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fhome-view.html;h=57c1e6798d1e2da694784a7213ac6a92e23cb596;hb=66cc496918a594b49164c7f2e98fc1d8132cf37e;hp=99d6464bd3cdd824d683b022843c02cf3184fcd9;hpb=0f192ac863eb30a39d37d5b834a6c35b82cd2279;p=unfold.git
diff --git a/portal/templates/home-view.html b/portal/templates/home-view.html
index 99d6464b..57c1e679 100644
--- a/portal/templates/home-view.html
+++ b/portal/templates/home-view.html
@@ -1,63 +1,144 @@
-{% extends "layout-unfold1.html" %}
-
-{% block unfold_main %}
-
-
-
-
-
-
- ACCOUNT |
- SLICES |
- SUPPORT |
-
-
- |
- |
- |
-
-
-
- {% include '_widget-login-user.html' %}
- |
-
-
- |
-
-
-
- |
-
-
-
-
-
-
- INSTITUTION |
- SLICES |
- SUPPORT |
-
-
- |
- |
- |
-
-
-
- {% include '_widget-login-manager.html' %}
- |
-
-
- |
-
-
-
- |
-
-
-
+{% extends "layout_base.html" %}
+{% load portal_filters %}
+
+{% block content %}
+
+{% if username %}
+
+{% block head %}
+
+{% endblock head %}
+
+{% 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%}
+
+
+
+
+
+
+
+
+ Your projects and slices
+
+
+
+
+ {% include theme|add:"_jfed_button.html" %}
+
+
+
+
+
+ {% if person.last_name %}
+
+ {{person.first_name}} {{person.last_name}}
+
+ {% endif %}
+
+ {{person.email}}
+
+
+
+
+
+
+
+
+
+
+ Contact
+
+ {% include theme|add:"_dashboard_links.html" %}
+
+
+
+
-{% endblock unfold_main %}
+{% else %}
+
+
+
+ {% include theme|add:"_slogan.html" %}
+
+
+ {% widget '_widget-login-user.html' %}
+
+
+
+
+
+
+
+
+{% endif %}
+
+
+
+
+
+
+
+{% endblock %}