Show links for POTA references

This commit is contained in:
phl0
2024-05-23 12:03:59 +02:00
parent 03107fae90
commit 7f208f455b

View File

@@ -818,7 +818,7 @@ class QSO
'name' => $this->getName(),
'dxcc' => $this->getDXCC(),
'state' => $this->getState(),
'pota' => $this->dxPOTAReference,
'pota' => $this->getFormattedPota(),
'operator' => $this->getOperator(),
'cqzone' => $this->getCqzone(),
'ituzone' => $this->getItuzone(),
@@ -931,6 +931,10 @@ class QSO
return '<a href="https://www.cqgma.org/zinfo.php?ref=' . $this->dxWWFFReference . '" target="_blank"><span id="dxwwff">'. $this->dxWWFFReference . '</span></a>';
}
private function getFormattedPota() {
return '<a href="https://pota.app/#/park/' . $this->dxPOTAReference . '" target="_blank"><span id="dxpota">'. $this->dxPOTAReference . '</span></a>';
}
private function getFormattedQSLSent(): string
{
$showVia = false;