Ero sivun ”Widget:JwCurrentCharts” versioiden välillä
Järvi-meriwikistä
Rivi 497: | Rivi 497: | ||
if ( memo.obscode == 'level' ) { | if ( memo.obscode == 'level' ) { | ||
− | |||
− | |||
memo.avgW = {}; | memo.avgW = {}; | ||
for (var o in memo.obsesA) { | for (var o in memo.obsesA) { | ||
Rivi 611: | Rivi 609: | ||
//tstr += '<br /><span>(' + tc.toString() + ' havaintoa)</span>'; | //tstr += '<br /><span>(' + tc.toString() + ' havaintoa)</span>'; | ||
//tstr += ' <span class="smaller">(n=' + tc.toString() + ')</span><br /><span>(viimeisin ' + memo.obsesA[0].obsdatetime.inRelationToToday(memo.lang).toLowerCase() + ')</span>'; | //tstr += ' <span class="smaller">(n=' + tc.toString() + ')</span><br /><span>(viimeisin ' + memo.obsesA[0].obsdatetime.inRelationToToday(memo.lang).toLowerCase() + ')</span>'; | ||
− | istr += '<br /><span class="smaller">(Σ~' + memo.obsesA[0].obsdatetime.inRelationToToday(memo.lang).toLowerCase() + ')</span>'; | + | istr += '<br /><span class="smaller">('; |
+ | istr += '<button style="padding: 0 0.25em; font-size: 13px; margin-bottom: 3px; color: #0076b0;" type="button" class="btn Xbtn-secondary Xbtn-info" data-toggle="tooltip" data-placement="top" title="" data-original-title="Perustuu yhteensä x havaintoon ajanjaksolla: "><span class="fontawesome">Σ</span></button>'; | ||
+ | istr += ' ~' + memo.obsesA[0].obsdatetime.inRelationToToday(memo.lang).toLowerCase() + ')</span>'; | ||
} | } | ||
} else { | } else { |