mirror of https://github.com/itflow-org/itflow
Fix UI Regression with Indenting Columns in Tickets listing when Open and Closed tickets are filters
This commit is contained in:
parent
6c8403fa09
commit
680dbb04ce
|
|
@ -7,13 +7,14 @@
|
||||||
<table class="table table-striped table-borderless table-hover">
|
<table class="table table-striped table-borderless table-hover">
|
||||||
<thead class="text-dark <?php if (!$num_rows[0]) { echo "d-none"; } ?>">
|
<thead class="text-dark <?php if (!$num_rows[0]) { echo "d-none"; } ?>">
|
||||||
<tr>
|
<tr>
|
||||||
<?php if ($_GET['status'] !== 'Closed') { ?>
|
|
||||||
<td>
|
<td>
|
||||||
|
<?php if ($_GET['status'] !== 'Closed') { ?>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" id="selectAllCheckbox" type="checkbox" onclick="checkAll(this)" onKeyPress="checkAll(this)">
|
<input class="form-check-input" id="selectAllCheckbox" type="checkbox" onclick="checkAll(this)" onKeyPress="checkAll(this)">
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<?php } ?>
|
|
||||||
<th scope="col">
|
<th scope="col">
|
||||||
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_subject&order=<?php echo $disp; ?>">
|
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_subject&order=<?php echo $disp; ?>">
|
||||||
Ticket <?php if ($sort == 'ticket_subject') { echo $order_icon; } ?>
|
Ticket <?php if ($sort == 'ticket_subject') { echo $order_icon; } ?>
|
||||||
|
|
@ -167,14 +168,14 @@
|
||||||
|
|
||||||
<tr class="<?php if(empty($ticket_closed_at) && empty($ticket_updated_at)) { echo "text-bold"; }?> <?php if (empty($ticket_closed_at) && $ticket_reply_type == "Client") { echo "table-warning"; } ?>">
|
<tr class="<?php if(empty($ticket_closed_at) && empty($ticket_updated_at)) { echo "text-bold"; }?> <?php if (empty($ticket_closed_at) && $ticket_reply_type == "Client") { echo "table-warning"; } ?>">
|
||||||
|
|
||||||
<!-- Ticket Bulk Select (for open tickets) -->
|
|
||||||
<?php if (empty($ticket_closed_at)) { ?>
|
|
||||||
<td>
|
<td>
|
||||||
|
<!-- Ticket Bulk Select (for open tickets) -->
|
||||||
|
<?php if (empty($ticket_closed_at)) { ?>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input bulk-select" type="checkbox" name="ticket_ids[]" value="<?php echo $ticket_id ?>">
|
<input class="form-check-input bulk-select" type="checkbox" name="ticket_ids[]" value="<?php echo $ticket_id ?>">
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<!-- Ticket Subject -->
|
<!-- Ticket Subject -->
|
||||||
<td>
|
<td>
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,15 @@
|
||||||
<table class="table table-striped table-borderless table-hover">
|
<table class="table table-striped table-borderless table-hover">
|
||||||
<thead class="text-dark <?php if (!$num_rows[0]) { echo "d-none"; } ?> text-nowrap">
|
<thead class="text-dark <?php if (!$num_rows[0]) { echo "d-none"; } ?> text-nowrap">
|
||||||
<tr>
|
<tr>
|
||||||
<?php if ($_GET['status'] !== 'Closed') { ?>
|
|
||||||
<td>
|
<td>
|
||||||
|
<?php if ($_GET['status'] !== 'Closed') { ?>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input" id="selectAllCheckbox" type="checkbox" onclick="checkAll(this)" onkeydown="checkAll(this)">
|
<input class="form-check-input" id="selectAllCheckbox" type="checkbox" onclick="checkAll(this)" onkeydown="checkAll(this)">
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<?php } ?>
|
|
||||||
<th>
|
<th>
|
||||||
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_number&order=<?php echo $disp; ?>">
|
<a class="text-dark" href="?<?php echo $url_query_strings_sort; ?>&sort=ticket_number&order=<?php echo $disp; ?>">
|
||||||
Ticket <?php if ($sort == 'ticket_number') { echo $order_icon; } ?>
|
Ticket <?php if ($sort == 'ticket_number') { echo $order_icon; } ?>
|
||||||
|
|
@ -181,14 +183,15 @@
|
||||||
|
|
||||||
<tr class="<?php if(empty($ticket_closed_at) && empty($ticket_updated_at)) { echo "text-bold"; }?> <?php if (empty($ticket_closed_at) && $ticket_reply_type == "Client") { echo "table-warning"; } ?>">
|
<tr class="<?php if(empty($ticket_closed_at) && empty($ticket_updated_at)) { echo "text-bold"; }?> <?php if (empty($ticket_closed_at) && $ticket_reply_type == "Client") { echo "table-warning"; } ?>">
|
||||||
|
|
||||||
<!-- Ticket Bulk Select (for open tickets) -->
|
|
||||||
<?php if (empty($ticket_closed_at)) { ?>
|
|
||||||
<td>
|
<td>
|
||||||
|
<!-- Ticket Bulk Select (for open tickets) -->
|
||||||
|
<?php if (empty($ticket_closed_at)) { ?>
|
||||||
<div class="form-check">
|
<div class="form-check">
|
||||||
<input class="form-check-input bulk-select" type="checkbox" name="ticket_ids[]" value="<?php echo $ticket_id ?>">
|
<input class="form-check-input bulk-select" type="checkbox" name="ticket_ids[]" value="<?php echo $ticket_id ?>">
|
||||||
</div>
|
</div>
|
||||||
|
<?php } ?>
|
||||||
</td>
|
</td>
|
||||||
<?php } ?>
|
|
||||||
<!-- Ticket Number -->
|
<!-- Ticket Number -->
|
||||||
<td>
|
<td>
|
||||||
<a href="ticket.php?<?php echo $client_url; ?>ticket_id=<?php echo $ticket_id; ?>">
|
<a href="ticket.php?<?php echo $client_url; ?>ticket_id=<?php echo $ticket_id; ?>">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue