From d2f5759410f539d6edd0d4171de2f12ba130b3ae Mon Sep 17 00:00:00 2001 From: Ciro Scognamiglio Date: Tue, 25 Feb 2014 16:58:37 +0100 Subject: [PATCH] modified returned object from rest/user --- portal/templates/onelab/onelab_home-view.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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($( "