mirror of https://github.com/itflow-org/itflow
readed back ticket timer at the top as it broke the counter
This commit is contained in:
parent
625a6cac6c
commit
b2ad67e26d
18
top_nav.php
18
top_nav.php
|
|
@ -37,26 +37,26 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php if ($config_module_enable_ticketing == 1) { ?>
|
<?php if ($config_module_enable_ticketing == 1) { ?>
|
||||||
<!-- WORK IN PROGRESS (Commented by JQ 2023-12-27)
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#" data-toggle="modal" data-target="#openTicketsModal">
|
<a class="nav-link" href="#" data-toggle="modal" data-target="#openTicketsModal">
|
||||||
<i class="fas fa-hourglass-half"></i>
|
<i class="fas fa-hourglass-half"></i>
|
||||||
<span class="badge" id="runningTicketsCount">0</span>
|
<span class="badge" id="runningTicketsCount">0</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
-->
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
<!-- New Notifications Dropdown -->
|
<!-- New Notifications Dropdown -->
|
||||||
<?php
|
<?php
|
||||||
$sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications
|
$sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications
|
||||||
LEFT JOIN clients ON notification_client_id = client_id
|
LEFT JOIN clients ON notification_client_id = client_id
|
||||||
WHERE notification_dismissed_at IS NULL
|
WHERE notification_dismissed_at IS NULL
|
||||||
AND (notification_user_id = $session_user_id OR notification_user_id = 0)
|
AND (notification_user_id = $session_user_id OR notification_user_id = 0)
|
||||||
ORDER BY notification_id DESC LIMIT 5"
|
ORDER BY notification_id DESC LIMIT 5"
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if ($num_notifications > 0) { ?>
|
<?php if ($num_notifications > 0) { ?>
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue