From: Ciro Scognamiglio Date: Tue, 25 Feb 2014 15:58:37 +0000 (+0100) Subject: modified returned object from rest/user X-Git-Tag: myslice-1.1~311 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d2f5759410f539d6edd0d4171de2f12ba130b3ae;p=myslice.git modified returned object from rest/user --- diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index 6777eb33..233eb02a 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -102,8 +102,8 @@ {% if person %} $.getJSON("rest/user", function( data ) { var items = []; - $.each( data[0].slices, function( key, val ) { - items.push( "
  • " + val + "
  • " ); + $.each( data[0].slice, function( key, val ) { + items.push( "
  • " + val.slice_hrn + "
  • " ); }); $("div#home-slice-list").html($( "