X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=c8ee2d81c381bc0ef2ceed15d6b490c3597d4b8f;hb=8fc0e86ef1f2bae962a75732f4f71db26befbfb7;hp=11fa2ee364293cd8b9b48a754fcfd1c0c119d73d;hpb=680cc88d626b7a9fa309d85428918b0db42b93cb;p=unfold.git
diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html
index 11fa2ee3..c8ee2d81 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
+
+
+
+
+
+
+
+
+
+
+
+
+ SUPPORT
+
+
+
+
+
+
+
+
+
+
+
+ ACCOUNT
+
+
+
+
+
+
+
+
+ {% 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/";
@@ -112,4 +182,5 @@ This should go into session
--------*/
});
-{% endblock %}
+{% widget "_widget-monitor.html" %}
+{% endblock %}
\ No newline at end of file