From: Loic Baron Date: Tue, 5 May 2015 17:01:00 +0000 (+0200) Subject: Dashboard: added icon and info tooltip to list of slices and projects X-Git-Tag: myslice-1.4~25 X-Git-Url: http://git.onelab.eu/?p=unfold.git;a=commitdiff_plain;h=d0bb04b0886c2a2395c14aa7b2b30f58227f00c7 Dashboard: added icon and info tooltip to list of slices and projects --- diff --git a/portal/templates/base.html b/portal/templates/base.html index 5a1248cd..47608496 100644 --- a/portal/templates/base.html +++ b/portal/templates/base.html @@ -76,11 +76,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); @@ -93,18 +93,18 @@ $(document).ready(function() { var items = []; $.each( slices, function(i, val) { - items.push( "
  • " + val + "
  • " ); + items.push( "
  • " + val + "
  • " ); }); $("div#home-slice-list").html($( "