views: eqslcard: add ability to navigate between eqsl cards

Adds the ability to navigate between eQSL cards in the eQSL manager
screen. This makes the page consistent with the rest of the application
like the logbook and eQSL download page.

Fixes: https://github.com/wavelog/wavelog/issues/1417

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2024-12-31 21:53:59 -05:00
parent dd2fed91c7
commit c7e14bbb36

View File

@@ -57,7 +57,7 @@
echo '<td style=\'text-align: center\'>';
if ($qsl->COL_EQSL_QSLRDATE) { $timestamp = strtotime($qsl->COL_EQSL_QSLRDATE); echo date($custom_date_format, $timestamp); }
echo '</td>';
echo '<td style=\'text-align: center\'><button onclick="viewEqsl(\''.$qsl->image_file.'\', \''. $qsl->COL_CALL . '\')" class="btn btn-sm btn-success">' . __("View") . '</button></td>';
echo '<td style=\'text-align: center\'><a href=\''.site_url('eqsl/image/'.$qsl->COL_PRIMARY_KEY).'\' data-fancybox=\'images\' data-width=\'528\' data-height=\'336\' class=\'btn btn-sm btn-success\'>' . __("View") . '</a></td>';
echo '</tr>';
}