X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fhome-view.html;h=57c1e6798d1e2da694784a7213ac6a92e23cb596;hb=66cc496918a594b49164c7f2e98fc1d8132cf37e;hp=cb51b530d09362c94a620df9620c412c478eb6eb;hpb=348934a41a30d1cf44ded1078718d783d130f653;p=unfold.git
diff --git a/portal/templates/home-view.html b/portal/templates/home-view.html
index cb51b530..57c1e679 100644
--- a/portal/templates/home-view.html
+++ b/portal/templates/home-view.html
@@ -1,113 +1,144 @@
-{% extends "layout.html" %}
+{% extends "layout_base.html" %}
{% load portal_filters %}
{% block content %}
-
-
-
-
-
- ACCOUNT |
- SLICES |
- SUPPORT |
-
-
- |
- |
- |
-
-
- {% if person %}
-
-
-
- {% if person.last_name %}
- {{person.first_name}} {{person.last_name}}
- {% endif %}
- Email: {{person.email}}
-
- {% else %}
- |
- {% widget '_widget-login-user.html' %}
- {% endif %}
- |
-
- {% if person %}
-
-
- {% else %}
- {% endif %}
- |
-
-
-
- |
-
-
-
-
-
-
- INSTITUTION |
- SLICES |
- REQUESTS |
-
-
- |
- |
- |
-
-
- {% if person %}
-
-
- {% else %}
- |
- {% widget '_widget-login-manager.html' %}
- {% endif %}
- |
-
- {% if person %}
-
- {% endif %}
- |
-
- {% if person %}
-
- {% endif %}
- |
-
-
-
+
+{% 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" %}
+
+
+
+
+{% else %}
+
+
+
+ {% include theme|add:"_slogan.html" %}
+
+
+ {% widget '_widget-login-user.html' %}
+
+
+
+
+
+
+
+
+{% endif %}
+
+
+
+
+
+
{% endblock %}