kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
commit
50488efff2
|
@ -244,10 +244,16 @@
|
|||
sonde_id_data.alt = sonde_id_data.alt.toFixed(1);
|
||||
sonde_id_data.vel_v = sonde_id_data.vel_v.toFixed(1);
|
||||
sonde_id_data.vel_h = (sonde_id_data.vel_h*3.6).toFixed(1);
|
||||
// Add a link to HabHub if we have habitat enabled.
|
||||
// Add a link to HabHub if we have habitat enabled otherwise add link to radiosondy.info.
|
||||
if ("habitat_enabled" in autorx_config){
|
||||
if(autorx_config.habitat_enabled ==true){
|
||||
sonde_id_data.id = "<a href='http://sondehub.org/" + sonde_id + "' target='_blank'>" + sonde_id + "</a>";
|
||||
} else {
|
||||
if(autorx_config.aprs_server == "radiosondy.info"){
|
||||
sonde_id_data.id = "<a href='https://radiosondy.info/sonde_archive.php?sondenumber=" + sonde_id + "' target='_blank'>" + sonde_id + "</$
|
||||
} else {
|
||||
sonde_id_data.id = "<a href='https://aprs.fi/#!call=" + sonde_id + "&timerange=3600&tail=3600' target='_blank'>" + sonde_id + "</a>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue