X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=portal%2Ftemplates%2Finstitution.html;h=30fad6cf76945f6e699ff41c38dcfb58808e253f;hb=e88414306ccca0b2dec66c61200b125192d4f1f2;hp=f168167ab8cdfe0e3d5b20f6994ff8cbed8e5ab2;hpb=ac575fb40a8a128cdac22bdc0b868012011c5e66;p=unfold.git diff --git a/portal/templates/institution.html b/portal/templates/institution.html index f168167a..30fad6cf 100644 --- a/portal/templates/institution.html +++ b/portal/templates/institution.html @@ -9,7 +9,7 @@
@@ -28,6 +28,9 @@
+
+

{{user_details.parent_authority}}

+
@@ -48,8 +51,10 @@
- {%if 'is_pi' in pi %} + {%if pi %}
+ +
{% endif %} @@ -71,9 +76,9 @@
- {% if 'is_pi' in pi %} + {% if pi %}
- {% if 'is_pi' in pi %} + {% if pi %} {% else %} @@ -103,7 +108,7 @@ $(document).ready(function() { }else{ nodes_length=val.nodes.length; } - console.log(val); + //console.log(val); if(val.users=="undefined" || val.users==null){ users_length=0; }else{ @@ -191,6 +196,9 @@ $(document).ready(function() { e.preventDefault(); $(this).tab('show'); var id = $(this).attr('href').substr(1); + if ((id == 'requests')){ + $("#" + id).load('/management/' + id); + } /* if ((id == 'requests') || (id == 'about')) $("#" + id).load('/management/' + id);