previous contacts

pull/2886/head
HB9HIL 2023-12-29 08:26:15 +01:00
rodzic cad55abdbb
commit 72e9bc1294
2 zmienionych plików z 11 dodań i 2 usunięć

Wyświetl plik

@ -2,6 +2,8 @@
<script language="javascript">
var qso_manual = "<?php echo $_GET['manual']; ?>";
var text_error_timeoff_less_timeon = "<?php echo lang('qso_error_timeoff_less_timeon'); ?>";
var lang_qso_title_previous_contacts = "<?php echo lang('qso_title_previous_contacts'); ?>";
var lang_qso_title_times_worked_before = "<?php echo lang('qso_title_times_worked_before'); ?>";
</script>
<div class="row qsopane">
@ -637,7 +639,7 @@
<?php } ?>
<div class="card previous-qsos">
<div class="card-header"><h4 class="card-title" style="font-size: 16px; font-weight: bold;"><span id="timesWorked"></span><?php echo lang('qso_title_previous_contacts'); ?></h4></div>
<div class="card-header"><h4 class="card-title" id="timesWorked" style="font-size: 16px; font-weight: bold;"><?php echo lang('qso_title_previous_contacts'); ?></h4></div>
<div id="partial_view" style="font-size: 0.95rem;"></div>
@ -645,6 +647,7 @@
</div>
</div>
<small class="mt-0.5" style="float: right;"><?php echo lang('qso_previous_max_shown'); ?></small>
</div>
</div>

Wyświetl plik

@ -528,6 +528,7 @@ function reset_fields() {
mymap.removeLayer(markers);
$('.callsign-suggest').hide();
$('.dxccsummary').remove();
$('#timesWorked').html(lang_qso_title_previous_contacts);
}
function resetTimers(manual) {
@ -758,7 +759,11 @@ $("#callsign").focusout(function() {
county_selectize.setValue(result.callsign_us_county, false);
}
$('#timesWorked').html(result.timesWorked + ' ');
if(result.timesWorked != "") {
$('#timesWorked').html(result.timesWorked + lang_qso_title_times_worked_before);
} else {
$('#timesWorked').html(lang_qso_title_previous_contacts);
}
if($('#iota_ref').val() == "") {
$('#iota_ref').val(result.callsign_iota);
}
@ -1049,6 +1054,7 @@ function resetDefaultQSOFields() {
$('#callsign-image').attr('style', 'display: none;');
$('#callsign-image-content').text("");
$('.dxccsummary').remove();
$('#timesWorked').html(lang_qso_title_previous_contacts);
}
function closeModal() {