Separate table ids

This commit is contained in:
phl0
2025-07-01 16:35:49 +02:00
parent ad9d6d1fa8
commit f4a7433810
4 changed files with 15 additions and 4 deletions

View File

@@ -474,6 +474,7 @@ class Awards extends CI_Controller {
if (!empty($qsltype)) {
$data['filter'] .= __(" and ").implode('/', $qsltype);
}
$data['ispopup'] = true;
$this->load->view('awards/details', $data);
}

View File

@@ -1,3 +1,6 @@
<h5><?= __("Filtering on"); ?> <?php echo $filter; ?></h5>
<?php $this->load->view('view_log/partial/log_ajax'); ?>
<?php
$data['ispopup'] = $ispopup;
$this->load->view('view_log/partial/log_ajax', $data);
?>

View File

@@ -2590,7 +2590,7 @@ function viewEqsl(picture, callsign) {
message: html,
onshown: function(dialog) {
$('[data-bs-toggle="tooltip"]').tooltip();
$('.contacttable').DataTable({
$('.displaycontactstable').DataTable({
"pageLength": 7,
responsive: false,
ordering: false,

View File

@@ -180,10 +180,17 @@ function echoQrbCalcLink($mygrid, $grid, $vucc, $isVisitor = false) {
?>
<?php if ($results) { ?>
<?php
if ($results) {
$tableid = "contacttable";
if (isset($ispopup)) {
$tableid = "displaycontactstable";
}
?>
<div class="table-responsive">
<table style="width:100%" id="contacttable" class="table contacttable table-striped table-hover">
<table style="width:100%" id="<?= $tableid ?>" class="table <?= $tableid ?> table-striped table-hover">
<thead>
<tr class="titles">
<th><?= __("Date"); ?></th>