Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide the running open ticket tracker as this feature is being removed #953

Merged
merged 1 commit into from
May 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 -->
Loading