merged changes
[myslice.git] / portal / templates / onelab / onelab_home-view.html
index 812b36f..b297024 100644 (file)
                {% if person %}
                $.getJSON("rest/user", function( data ) {
                  var items = [];
-                 $.each( data[0].slices, function( key, val ) {
-                   items.push( "<li><a href=\"portal/slice/"+val+"\">" + val + "</a></li>" );
+                 $.each( data[0].slice, function( key, val ) {
+                       items.push( "<li><a href=\"portal/slice/"+val.slice_hrn+"\">" + val.slice_hrn + "</a></li>" );
                  });
                  
                  $("div#home-slice-list").html($( "<ul/>", { html: items.join( "" ) }));