mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-27 01:24:16 +00:00
Merge pull request #2613 from phl0/workedGridsquareSearchResult
Check if grid worked on default band for callbook results
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
|
||||
<?php if(isset($callsign['callsign'])) { ?>
|
||||
<h3>Callbook Search for <?php echo $id; ?></h3>
|
||||
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
@@ -25,7 +24,15 @@
|
||||
|
||||
<tr>
|
||||
<td style="padding: 0 0.3em 0 0;" align="left">Gridsquare</td>
|
||||
<td style="padding: 0.3em 0 0.3em 0.5em;" align="left"><?php echo strtoupper($callsign['gridsquare']); ?></td>
|
||||
<td style="padding: 0.3em 0 0.3em 0.5em;" align="left">
|
||||
<?php
|
||||
if ($grid_worked != 0) {
|
||||
echo " <span data-toggle=\"tooltip\" title=\"Worked\" class=\"badge-success\" style=\"padding-left: 0.2em; padding-right: 0.2em;\">".strtoupper($callsign['gridsquare'])."</span>";
|
||||
} else {
|
||||
echo " <span data-toggle=\"tooltip\" title=\"Not Worked\" class=\"badge-danger\" style=\"padding-left: 0.2em; padding-right: 0.2em;\">".strtoupper($callsign['gridsquare'])."</span>";
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user