X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fbase.html;h=8fbc2bbfd6ac55dc01bb2a842c890c312fb12dfe;hb=225a0f7799c43d63e04ec5639f14690bc941b5b2;hp=c83c2bdc8ba4eba03046f0b9e7f487ae22df025d;hpb=26709c1cd29b40ac2e617a075a085e18da35e87c;p=unfold.git diff --git a/portal/templates/base.html b/portal/templates/base.html index c83c2bdc..8fbc2bbf 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,9 +77,11 @@ $(document).ready(function() { slices.push("no slice"); }else{ slices = user.slices; - //drawSlices(slices); + {% 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,18 +94,18 @@ $(document).ready(function() { var items = []; $.each( slices, function(i, val) { - items.push( "
  • " + val + "
  • " ); + items.push( "
  • " + val + "
  • " ); }); $("div#home-slice-list").html($( "