X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=5dd577e1cfd72cccc7872e4101e4f849a2e54c3b;hb=7218bf493458c353c505a6a79818ac418b24f51b;hp=11fa2ee364293cd8b9b48a754fcfd1c0c119d73d;hpb=3802d2308517f6ec27c8f0ea754409c0d4f4e2d7;p=unfold.git
diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html
index 11fa2ee3..5dd577e1 100644
--- a/portal/templates/onelab/onelab_home-view.html
+++ b/portal/templates/onelab/onelab_home-view.html
@@ -8,6 +8,7 @@
{% if username %}
+ {%if 'is_pi' in pi %}
EXPERIMENT
@@ -18,6 +19,17 @@
+
@@ -57,10 +69,68 @@
{% if person.last_name %}
{{person.first_name}} {{person.last_name}}
{% endif %}
- Email: {{person.email}}
+ 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 %}
@@ -94,7 +164,7 @@
$('div#'+$(this).data('panel')).show();
});
$('button#validaterequestbtn').click(function() {
- window.location="/portal/validate/";
+ window.location="/portal/institution#requests";
});
$('button#ticketbtn').click(function() {
window.location="/portal/contact/";