Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 109: | Rivi 109: | ||
out += '<div style="height: 40px; display: flex; justify-content: center; align-items: center; flex-direction: column;">'; | out += '<div style="height: 40px; display: flex; justify-content: center; align-items: center; flex-direction: column;">'; | ||
out += '<button style="padding: 0 0.25em; font-size: 14px; margin-bottom: 3px;" type="button" class="btn btn-secondary btn-info" data-toggle="tooltip" data-placement="top" data-trigger="click" title="' + 'Lukema on havainnon tuoreudella painotettu keskiarvo viimeisen 7 vuorokauden aikana järvelle tallennetuista havainnoista. Näitä havaintoja on yhteensä ' + jw.obstype[ ot ].obses.length + ' kpl, joista uusin on tehty ' + jw.obstype[ ot ].newest.toLocaleString( 'fi' ) + '">'; | out += '<button style="padding: 0 0.25em; font-size: 14px; margin-bottom: 3px;" type="button" class="btn btn-secondary btn-info" data-toggle="tooltip" data-placement="top" data-trigger="click" title="' + 'Lukema on havainnon tuoreudella painotettu keskiarvo viimeisen 7 vuorokauden aikana järvelle tallennetuista havainnoista. Näitä havaintoja on yhteensä ' + jw.obstype[ ot ].obses.length + ' kpl, joista uusin on tehty ' + jw.obstype[ ot ].newest.toLocaleString( 'fi' ).replace( ' klo 0.00.00', '' ) + '">'; | ||
out += jw.obstype[ ot ].newest.inRelationToToday(); | out += jw.obstype[ ot ].newest.inRelationToToday(); | ||
out += '</button>'; | out += '</button>'; | ||


