Skip to content

Commit a94a875

Browse files
committed
Remove LoTW Status column; add status summary
Remove the per-row "LoTW Status" header and cells from the Lotw table output to avoid repeating the same status for each QSO. Instead, append a single "LoTW Status" summary div after the table using $lotw_status. This simplifies the table layout and centralizes the LoTW status display.
1 parent ad81bd8 commit a94a875

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

application/controllers/Lotw.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,6 @@ private function loadFromFile($filepath, $display_view = "TRUE")
522522
$tableheaders .= "<td>Gridsquare</td>";
523523
$tableheaders .= "<td>IOTA</td>";
524524
$tableheaders .= "<td>Log Status</td>";
525-
$tableheaders .= "<td>LoTW Status</td>";
526525
$tableheaders .= "</tr>";
527526

528527
$table = "";
@@ -626,7 +625,6 @@ private function loadFromFile($filepath, $display_view = "TRUE")
626625
$table .= "<td>".$row['gridsquare']."</td>";
627626
$table .= "<td>".$row['iota']."</td>";
628627
$table .= "<td>QSO Record: ".$row['status']."</td>";
629-
$table .= "<td>LoTW Record: ".$lotw_status."</td>";
630628
$table .= "</tr>";
631629
} else {
632630
$table .= "<tr>";
@@ -640,7 +638,6 @@ private function loadFromFile($filepath, $display_view = "TRUE")
640638
$table .= "<td></td>";
641639
$table .= "<td></td>";
642640
$table .= "<td>QSO Record: ".$row['status']."</td>";
643-
$table .= "<td></td>";
644641
$table .= "</tr>";
645642
}
646643
}
@@ -650,6 +647,7 @@ private function loadFromFile($filepath, $display_view = "TRUE")
650647
$table .= "</table>";
651648
$data['lotw_table_headers'] = $tableheaders;
652649
$data['lotw_table'] = $table;
650+
$data['lotw_table'] .= '<div class="mt-2"><strong>LoTW Status:</strong> ' . $lotw_status . '</div>';
653651
}
654652

655653
unlink($filepath);

0 commit comments

Comments
 (0)