mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge pull request #2809 from phl0/checkSatSupport
Show info about SAT support by LoTW
This commit is contained in:
@@ -38,6 +38,9 @@ switch ($date_format) {
|
||||
var lang_qso_wait_before_saving = "<?= __("Please wait before saving another QSO"); ?>";
|
||||
var latlng=[<?php echo $lat.','.$lng;?>];
|
||||
var user_date_format = "<?php echo $date_format; ?>"; // Pass the user's date format to JavaScript
|
||||
var lang_qso_sat_lotw_support_not_found = "<?= __("Satellite not found"); ?>";
|
||||
var lang_qso_sat_lotw_supported = "<?= __("Supported by LoTW"); ?>";
|
||||
var lang_qso_sat_lotw_not_supported = "<?= __("Not supported by LoTW"); ?>";
|
||||
</script>
|
||||
|
||||
<!--- DX Waterfall --->
|
||||
@@ -668,7 +671,9 @@ if (typeof window.DX_WATERFALL_FIELD_MAP === 'undefined') {
|
||||
<label for="sat_name"><?= __("Satellite Name"); ?></label>
|
||||
|
||||
<input list="satellite_names" id="sat_name" type="text" name="sat_name" class="form-control" value="<?php echo $this->session->userdata('sat_name'); ?>">
|
||||
|
||||
<div style="min-height: 24px;">
|
||||
<small id="lotw_support" class="form-text text-muted" style="min-height: 20px;"> </small>
|
||||
</div>
|
||||
<datalist id="satellite_names" class="satellite_names_list"></datalist>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<div class="tleinfo">
|
||||
<?php
|
||||
if ($tleinfo) {
|
||||
if ($tleinfo->tle) {
|
||||
echo sprintf(__("TLE information for %s (last updated: %s)"), $satinfo[0]->name, date($custom_date_format . " H:i", strtotime($tleinfo->updated)));
|
||||
echo '<br /><br /><pre>' . $tleinfo->tle . '</pre>';
|
||||
echo '<button class="btn btn-sm btn-danger deletetlebutton" onclick="deleteTle(' . $satinfo[0]->id . ');">'.__("Delete TLE"). '</button>';
|
||||
|
||||
Reference in New Issue
Block a user