mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix wording in legend headline
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
var lang_award_info_ln3 = "<?= sprintf(__("You can find all information about the DXCC Award on the %s."), "<a href='https://www.arrl.org/dxcc-rules' target='_blank'>" . __("ARRL website") . "</a>"); ?>";
|
||||
var lang_award_info_ln4 = "<?= __("Important Note: Over time, the criteria for the DXCC List have changed. The List remains unchanged until an entity no longer satisfies the criteria under which it was added, at which time it is moved to the Deleted List. You will find Deleted DXCC entities also in the lists on Wavelog. Be aware that these DXCC entities are outdated and no longer valid."); ?>";
|
||||
var lang_award_info_ln5 = "<?= __("Fields taken for this Award: DXCC (Needs to be a valid one out of the DXCC-ADIF-Spec-List"); ?>";
|
||||
var lang_award_info_all_bands = "<?= __("Every band (w/o SAT)"); ?>";
|
||||
</script>
|
||||
<h2><?php echo $page_title; ?></h2>
|
||||
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?= __("Award Info"); ?></button>
|
||||
|
||||
@@ -158,7 +158,11 @@ function load_dxcc_map2(data, worked, confirmed, notworked) {
|
||||
legend.onAdd = function(map) {
|
||||
var div = L.DomUtil.create("div", "legend");
|
||||
var band = $('#band2').val();
|
||||
div.innerHTML += "<h4>Band: " + band + "</h4>";
|
||||
if (band == 'All') {
|
||||
div.innerHTML += "<h4>" + lang_award_info_all_bands + "</h4>";
|
||||
} else {
|
||||
div.innerHTML += "<h4>Band: " + band + "</h4>";
|
||||
}
|
||||
div.innerHTML += '<i style="background: ' + confirmedColor + '"></i><span>' + lang_general_word_confirmed + ' ('+confirmedcount+')</span><br>';
|
||||
div.innerHTML += '<i style="background: ' + workedColor + '"></i><span>' + lang_general_word_worked_not_confirmed + ' ('+workednotconfirmedcount+')</span><br>';
|
||||
div.innerHTML += '<i style="background: ' + unworkedColor + '"></i><span>' + lang_general_word_not_worked + ' ('+notworkedcount+')</span><br>';
|
||||
|
||||
Reference in New Issue
Block a user