X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=ff6ec256b8fed0b0545be191dc493c0acda40db0;hb=8e6372eabf1db28adf273c33408c672b56e42e49;hp=5fb5dcf68e15a833f3a770d1619caa58558e7064;hpb=c3c38ca2ec7e6bffb3cf70897a190729a05d16a1;p=myslice.git
diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html
index 5fb5dcf6..ff6ec256 100644
--- a/portal/templates/onelab/onelab_home-view.html
+++ b/portal/templates/onelab/onelab_home-view.html
@@ -5,6 +5,123 @@
+{% if username %}
+
+
+ {%if 'is_pi' in pi %}
+
+
+ EXPERIMENT
+
+
+
![]({{ STATIC_URL }}img/icon_slices.png)
+
+
+
+
+
+
+
+
+
MANAGEMENT
+
+
![]({{ STATIC_URL }}img/icon_authority_color.png)
+
+
+
+
+
+
+
+ SUPPORT
+
+
+
![]({{ STATIC_URL }}img/icon_support.png)
+
+
+
+
+
+
+
+
+ ACCOUNT
+
+
+
![]({{ STATIC_URL }}img/icon_user_color.png)
+
+
+
+
+
+ {% if person.last_name %}
+ {{person.first_name}} {{person.last_name}}
+ {% endif %}
+
Username: {{person.email}}
+
+
+
+ {%else%}
+
+
+
+ EXPERIMENT
+
+
+
![]({{ STATIC_URL }}img/icon_slices.png)
+
+
+
+
+
+
+
+
+
+ SUPPORT
+
+
+
![]({{ STATIC_URL }}img/icon_support.png)
+
+
+
+
+
+
+
+
+ ACCOUNT
+
+
+
![]({{ STATIC_URL }}img/icon_user_color.png)
+
+
+
+
+
+ {% if person.last_name %}
+ {{person.first_name}} {{person.last_name}}
+ {% endif %}
+
Username: {{person.email}}
+
+
+
+ {%endif%}
+
+
+{% else %}
- {% 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 %}
-
-
+{% endif %}
+