From: Loic Baron Date: Thu, 23 Apr 2015 13:58:41 +0000 (+0200) Subject: manage institution: hide slices, show only in projects X-Git-Tag: myslice-1.3~17 X-Git-Url: http://git.onelab.eu/?p=unfold.git;a=commitdiff_plain;h=36fd9dd8347955170a8bed91024d88dc61462983 manage institution: hide slices, show only in projects --- diff --git a/portal/templates/fed4fire/fed4fire_institution.html b/portal/templates/fed4fire/fed4fire_institution.html index 626225cd..15b7525e 100644 --- a/portal/templates/fed4fire/fed4fire_institution.html +++ b/portal/templates/fed4fire/fed4fire_institution.html @@ -26,8 +26,9 @@
  • Users
  • {% if not project %}
  • Projects
  • - {% endif %} + {% else %}
  • Slices
  • + {% endif %}
  • Requests
  • @@ -133,6 +134,7 @@ $(document).ready(function() { {% if person %} {% if user_details.parent_authority %} $('#spinner').spin(); + $('#loading').spin(); $.post("/rest/myslice:slice/",{'fields':['slice_hrn','users','url','slice_date_created'],'filters':{'parent_authority':'{{user_details.parent_authority}}'}}, function( data ) { var list_slices = []; @@ -159,7 +161,7 @@ $(document).ready(function() { } slice_row = ""; - slice_row += ""; + slice_row += "
    "; // filter links to slices, only those that the user has credentials for s = myslice.user.slices;