fix-state-keys-shapesjson
Tag Loomis 2023-12-07 08:23:04 -08:00
rodzic 60852610c2
commit a7144712ac
2 zmienionych plików z 19 dodań i 19 usunięć

Wyświetl plik

@ -2142,21 +2142,21 @@ function createTooltTipTable(toolElement)
{ {
worker += worker +=
"<td align='center'>" + "<td align='center'>" +
(callsign.DEcall in GT.lotwCallsigns ? "" : "") + (callsign.DEcall in GT.lotwCallsigns ? "&#10004;" : "") +
"</td>"; "</td>";
} }
if (GT.callsignLookups.eqslUseEnable == true) if (GT.callsignLookups.eqslUseEnable == true)
{ {
worker += worker +=
"<td align='center'>" + "<td align='center'>" +
(callsign.DEcall in GT.eqslCallsigns ? "" : "") + (callsign.DEcall in GT.eqslCallsigns ? "&#10004;" : "") +
"</td>"; "</td>";
} }
if (GT.callsignLookups.oqrsUseEnable == true) if (GT.callsignLookups.oqrsUseEnable == true)
{ {
worker += worker +=
"<td align='center'>" + "<td align='center'>" +
(callsign.DEcall in GT.oqrsCallsigns ? "" : "") + (callsign.DEcall in GT.oqrsCallsigns ? "&#10004;" : "") +
"</td>"; "</td>";
} }
@ -2271,14 +2271,14 @@ function createTooltTipTableLogbook(toolElement)
{ {
worker += worker +=
"<td align='center'>" + "<td align='center'>" +
(callsign.DEcall in GT.lotwCallsigns ? "" : "") + (callsign.DEcall in GT.lotwCallsigns ? "&#10004;" : "") +
"</td>"; "</td>";
} }
if (GT.callsignLookups.eqslUseEnable == true) if (GT.callsignLookups.eqslUseEnable == true)
{ {
worker += worker +=
"<td align='center'>" + "<td align='center'>" +
(callsign.DEcall in GT.eqslCallsigns ? "" : "") + (callsign.DEcall in GT.eqslCallsigns ? "&#10004;" : "") +
"</td>"; "</td>";
} }
if (GT.callsignLookups.oqrsUseEnable == true) if (GT.callsignLookups.oqrsUseEnable == true)
@ -2289,7 +2289,7 @@ function createTooltTipTableLogbook(toolElement)
"<td style='cursor:pointer;' align='center' " + "<td style='cursor:pointer;' align='center' " +
"onClick='window.opener.openSite(\"https://clublog.org/logsearch/logsearch.php?log=" + "onClick='window.opener.openSite(\"https://clublog.org/logsearch/logsearch.php?log=" +
callsign.DEcall + "&call=" + callsign.DXcall + "&SubmitLogSearch=Show+contacts\");'>" + callsign.DEcall + "&call=" + callsign.DXcall + "&SubmitLogSearch=Show+contacts\");'>" +
" &#128236;</td>"; "&#10004; &#128236;</td>";
} }
else else
{ {
@ -7426,21 +7426,21 @@ function showCallsignBox(redraw)
{ {
worker += worker +=
"<td align='center'>" + "<td align='center'>" +
(thisCall in GT.lotwCallsigns ? "" : "") + (thisCall in GT.lotwCallsigns ? "&#10004;" : "") +
"</td>"; "</td>";
} }
if (GT.callsignLookups.eqslUseEnable == true) if (GT.callsignLookups.eqslUseEnable == true)
{ {
worker += worker +=
"<td align='center'>" + "<td align='center'>" +
(thisCall in GT.eqslCallsigns ? "" : "") + (thisCall in GT.eqslCallsigns ? "&#10004;" : "") +
"</td>"; "</td>";
} }
if (GT.callsignLookups.oqrsUseEnable == true) if (GT.callsignLookups.oqrsUseEnable == true)
{ {
worker += worker +=
"<td align='center'>" + "<td align='center'>" +
(thisCall in GT.oqrsCallsigns ? "" : "") + (thisCall in GT.oqrsCallsigns ? "&#10004;" : "") +
"</td>"; "</td>";
} }
worker += "</tr>"; worker += "</tr>";
@ -7985,15 +7985,15 @@ function showWorkedBox(sortIndex, nextPage, redraw)
worker += "<td style='color:lightblue'>" + userTimeString(key.time * 1000) + "</td>"; worker += "<td style='color:lightblue'>" + userTimeString(key.time * 1000) + "</td>";
if (GT.callsignLookups.lotwUseEnable == true) if (GT.callsignLookups.lotwUseEnable == true)
{ {
worker += "<td align=center>" + (key.DEcall in GT.lotwCallsigns ? "" : "") + "</td>"; worker += "<td align=center>" + (key.DEcall in GT.lotwCallsigns ? "&#10004;" : "") + "</td>";
} }
if (GT.callsignLookups.eqslUseEnable == true) if (GT.callsignLookups.eqslUseEnable == true)
{ {
worker += "<td align=center>" + (key.DEcall in GT.eqslCallsigns ? "" : "") + "</td>"; worker += "<td align=center>" + (key.DEcall in GT.eqslCallsigns ? "&#10004;" : "") + "</td>";
} }
if (GT.callsignLookups.oqrsUseEnable == true) if (GT.callsignLookups.oqrsUseEnable == true)
{ {
worker += "<td align=center>" + (key.DEcall in GT.oqrsCallsigns ? "" : "") + "</td>"; worker += "<td align=center>" + (key.DEcall in GT.oqrsCallsigns ? "&#10004;" : "") + "</td>";
} }
worker += "</tr>"; worker += "</tr>";
} }
@ -14851,19 +14851,19 @@ function displayLookupObject(lookup, gridPass, fromCache = false)
if (GT.callsignLookups.lotwUseEnable == true && thisCall in GT.lotwCallsigns) if (GT.callsignLookups.lotwUseEnable == true && thisCall in GT.lotwCallsigns)
{ {
lookup.ulotw = lookup.ulotw =
" (" + "&#10004; (" +
userDayString(GT.lotwCallsigns[thisCall] * 86400 * 1000) + userDayString(GT.lotwCallsigns[thisCall] * 86400 * 1000) +
")"; ")";
worker += makeRow("LoTW Member", lookup, "ulotw"); worker += makeRow("LoTW Member", lookup, "ulotw");
} }
if (GT.callsignLookups.eqslUseEnable == true && thisCall in GT.eqslCallsigns) if (GT.callsignLookups.eqslUseEnable == true && thisCall in GT.eqslCallsigns)
{ {
lookup.ueqsl = ""; lookup.ueqsl = "&#10004;";
worker += makeRow("eQSL Member", lookup, "ueqsl"); worker += makeRow("eQSL Member", lookup, "ueqsl");
} }
if (GT.callsignLookups.oqrsUseEnable == true && thisCall in GT.oqrsCallsigns) if (GT.callsignLookups.oqrsUseEnable == true && thisCall in GT.oqrsCallsigns)
{ {
lookup.uoqrs = ""; lookup.uoqrs = "&#10004;";
worker += makeRow("ClubLog OQRS", lookup, "uoqrs"); worker += makeRow("ClubLog OQRS", lookup, "uoqrs");
} }

Wyświetl plik

@ -275,7 +275,7 @@ const ROSTER_COLUMNS = {
title: `${$.i18n("rosterColumns.LoTW.LastUpdate")}${ title: `${$.i18n("rosterColumns.LoTW.LastUpdate")}${
window.opener.userDayString(window.opener.GT.lotwCallsigns[callObj.DEcall] * 86400000) window.opener.userDayString(window.opener.GT.lotwCallsigns[callObj.DEcall] * 86400000)
}`, }`,
html: "" html: "&#10004;"
} }
} }
} }
@ -287,7 +287,7 @@ const ROSTER_COLUMNS = {
title: `${$.i18n("rosterColumns.LoTW.LastUpdate")}${ title: `${$.i18n("rosterColumns.LoTW.LastUpdate")}${
window.opener.userDayString(window.opener.GT.lotwCallsigns[callObj.DEcall] * 86400000) window.opener.userDayString(window.opener.GT.lotwCallsigns[callObj.DEcall] * 86400000)
}`, }`,
html: "" html: "&#10004;"
} }
} }
} }
@ -305,7 +305,7 @@ const ROSTER_COLUMNS = {
tableData: (callObj) => ({ tableData: (callObj) => ({
style: "color: #0F0;", style: "color: #0F0;",
align: "center", align: "center",
html: (callObj.DEcall in window.opener.GT.eqslCallsigns ? "" : "&nbsp;") html: (callObj.DEcall in window.opener.GT.eqslCallsigns ? "&#10004;" : "&nbsp;")
}) })
}, },
@ -314,7 +314,7 @@ const ROSTER_COLUMNS = {
tableData: (callObj) => ({ tableData: (callObj) => ({
style: "color: #0F0;", style: "color: #0F0;",
align: "center", align: "center",
html: (callObj.DEcall in window.opener.GT.oqrsCallsigns ? "" : "&nbsp;") html: (callObj.DEcall in window.opener.GT.oqrsCallsigns ? "&#10004;" : "&nbsp;")
}) })
}, },