Skip to content

Commit

Permalink
Merge pull request #953 from wrongecho/hide-open-tickets-timer
Browse files Browse the repository at this point in the history
Hide the running open ticket tracker as this feature is being removed
  • Loading branch information
johnnyq authored May 5, 2024
2 parents c471228 + df66a96 commit de7d68b
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions top_nav.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@ class="fas fa-bars"></i></a>
<!-- Right navbar links -->
<ul class="navbar-nav ml-auto">

<?php if ($config_module_enable_ticketing == 1) { ?>

<li class="nav-item">
<a class="nav-link" href="#" data-toggle="modal" data-target="#openTicketsModal">
<i class="fas fa-hourglass-half"></i>
<span class="badge" id="runningTicketsCount">0</span>
</a>
</li>

<?php } ?>


<!-- New Notifications Dropdown -->
<?php
$sql_notifications = mysqli_query($mysqli, "SELECT * FROM notifications
Expand Down Expand Up @@ -84,7 +72,7 @@ class="fas fa-bullhorn mr-2"></i><?php echo $notification_type; ?></span>
<small class="text-secondary"><?php echo $notification; ?></small>
</a>
</div>

<?php } ?>

<div class="dropdown-divider"></div>
Expand Down Expand Up @@ -114,7 +102,7 @@ class="fa fa-fw fa-check mr-2"></i>Dismiss Notifications</a>
<?php } ?>
<!-- End New Notifications Dropdown -->


<li class="nav-item dropdown user-menu">
<a href="#" class="nav-link" data-toggle="dropdown">
<?php if (empty($session_avatar)) { ?>
Expand Down Expand Up @@ -151,7 +139,7 @@ class="d-none d-md-inline dropdown-toggle"><?php echo stripslashes(nullable_html
</ul>
</nav>

<?php if ($config_module_enable_ticketing == 1) {
<?php if ($config_module_enable_ticketing == 1) {
include_once "top_nav_tickets_modal.php";
} ?>
<!-- /.navbar -->
<!-- /.navbar -->

0 comments on commit de7d68b

Please sign in to comment.