X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fhome-view.html;h=955ab16a88403b722b1458f46537a7934d4e750c;hb=eae0d6c8743dfdc653efb1517a549d82b9776c67;hp=fc79a4ffb618ba2a2316888542ddba12e07f147b;hpb=f9880f0f3a06830f54b6f4d89eca5ce58eea122d;p=unfold.git
diff --git a/portal/templates/home-view.html b/portal/templates/home-view.html
index fc79a4ff..955ab16a 100644
--- a/portal/templates/home-view.html
+++ b/portal/templates/home-view.html
@@ -1,126 +1,148 @@
-{% extends "layout.html" %}
+{% extends "layout_base.html" %}
{% load portal_filters %}
{% block content %}
-
-{% widget '_widget_news.html' %}
-
-
-
-
-
-
- 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 %}