X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fhome-view.html;h=55d740351bdf9b22bc8cdaaa48cced9c080fd52b;hb=a8e5043501672c5ce18e9af5cb562cde443cc95c;hp=453ed2facce71fab1020cf569f64b34b484c69db;hpb=c6e7d96ca337b7227840b574027b10a00580cb0e;p=myslice.git
diff --git a/portal/templates/home-view.html b/portal/templates/home-view.html
index 453ed2fa..55d74035 100644
--- a/portal/templates/home-view.html
+++ b/portal/templates/home-view.html
@@ -1,120 +1,148 @@
-{% 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" %}
+
+
+
+
-
+
+{% endif %}
+
+
+
+
+
+
+
+
+{% if theme == 'onelab' %}
+{% widget "_widget-monitor.html" %}
+{% endif %}
{% endblock %}