Commit 50751786ba6b29ffabd9e3e69e8cc391d7ecb0f3

Authored by Renato De Donato
1 parent 9219771e

tooltip treemap

datalets/datasetexplorer-datalet/js/buildtreemap.js
... ... @@ -138,7 +138,7 @@ function build(root, meta, place_holder, select_listener, width, height) {
138 138 // FIRST LVL
139 139 data[0] = "first";
140 140 data[1] = meta[id]['title'];
141   - data[3] = (OW == undefined) ? parent.OW.getLanguageText('openwall', 'provider_'+id) : OW.getLanguageText('openwall', 'provider_'+id);
  141 + data[3] = OW.getLanguageText('openwall', 'provider_'+id);
142 142 data[4] = ((ODE.THEME_IMAGES_URL == undefined) ? parent.ODE.THEME_IMAGES_URL : ODE.THEME_IMAGES_URL) + "/logos/"+id+".png";//meta[id]['logo_url'];
143 143 //data[5] = d.value;
144 144 } else if (d._children && !d._children[0]._children) {
... ...
datalets/datasetexplorer-datalet/treemap_tooltip.html
... ... @@ -99,7 +99,7 @@
99 99 <div class="tooltip_logo"><img class="tooltip_img" src$={{logoUrl}}></div>
100 100 <!--<div class="tooltip_name" style$="color: {{color}};">{{name}}</div>-->
101 101 </div>
102   - <p><b style$="color: {{color}};">{{name}}</b>: <i>dlkjhfd dlknfkdn fjf jfjfj fkjofjso osjoijsoifj osjfoijsiojf osjfosj sfojoijjjfjff fffff ffffffffffffffffff fffffffffffff f ffffffff fffffffffff aslkmsal aslkfnaksnf aslknfanskf fffffffffffff mfksamnoasfmn jk j j j j j</i></p>
  102 + <p><b style$="color: {{color}};">{{name}}</b>: <i>{{description}}</i></p>
103 103 <p>There are <b>{{datasets}}</b> datasets.</p>
104 104 </paper-dialog>
105 105  
... ...