Callsign coloring

This commit is contained in:
Szymon Porwolik
2025-11-25 19:51:27 +01:00
parent f51591820e
commit e7a2ae361c

View File

@@ -971,16 +971,14 @@ $(function() {
} else {
dxcc_wked_info = "text-danger";
}
// Color code callsign: green=confirmed, yellow=worked
if (single.cnfmd_call) {
wked_info = "text-success";
} else if (single.worked_call) {
wked_info = "text-warning";
} else {
wked_info = "";
}
// Build LoTW badge with color coding based on last upload age
// Color code callsign: green=confirmed, yellow=worked, red=new
if (single.cnfmd_call) {
wked_info = "text-success";
} else if (single.worked_call) {
wked_info = "text-warning";
} else {
wked_info = "text-danger";
} // Build LoTW badge with color coding based on last upload age
var lotw_badge = '';
if (single.dxcc_spotted && single.dxcc_spotted.lotw_user) {
let lclass = '';