X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fbase.html;h=841dca99c828bc976726e29c78ebee573611aa1d;hb=a52e4ba486797f7569a9d9ac451089e698100fd5;hp=5a1248cdedb548894123e3942abf63b358c1eecd;hpb=770855394e23c5fc3e7862fe5bc7a4cd34476015;p=unfold.git diff --git a/portal/templates/base.html b/portal/templates/base.html index 5a1248cd..841dca99 100644 --- a/portal/templates/base.html +++ b/portal/templates/base.html @@ -55,6 +55,7 @@ {% insert_str prelude "css/topmenu.css" %} {% insert_str prelude "js/logout.js" %} + @@ -76,11 +77,11 @@ $(document).ready(function() { slices.push("no slice"); }else{ slices = user.slices; - {% if theme != "fed4fire" %} + {% if theme != "fed4fire" or "onelab" in theme %} drawSlices(slices); {% endif %} } - {% if theme == "fed4fire" %} + {% if theme == "fed4fire" or "onelab" in theme%} p = myslice.get_projects(); if(p != null){ //drawProjects(p); @@ -91,20 +92,20 @@ $(document).ready(function() { function drawSlices(slices){ var items = []; - + console.log(slices); $.each( slices, function(i, val) { - items.push( "
  • " + val + "
  • " ); + items.push( "
  • " + val + "
  • " ); }); $("div#home-slice-list").html($( "