From 36fd9dd8347955170a8bed91024d88dc61462983 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Thu, 23 Apr 2015 15:58:41 +0200 Subject: [PATCH] manage institution: hide slices, show only in projects --- portal/templates/fed4fire/fed4fire_institution.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.43.0