X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;fp=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=4915b9e2c2f1afd949473b750a963903a84be61d;hb=d251934bd71c678f552dc9a1d49c3f8efe102e1e;hp=7a3f71991de976acac9c9a4d71ac3431cd589045;hpb=325f6fccac2c4834031e09f92d67cef59256a335;p=myslice.git diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index 7a3f7199..4915b9e2 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -106,8 +106,8 @@ {% if person %} $.post("/rest/user/",{'filters':{'user_hrn':'$user_hrn'}}, function( data ) { var items = []; - $.each( data[0].slice, function( key, val ) { - items.push( "
  • " + val.slice_hrn + "
  • " ); + $.each( data[0].slices, function(i, val) { + items.push( "
  • " + val + "
  • " ); }); $("div#home-slice-list").html($( "