Skip to content

Commit ae214ad

Browse files
committed
Patch notices: Hide menu element when notices feature is not active
1 parent 72325bd commit ae214ad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Views/shared/nav.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<li class="nav-item dropdown {!! $tools->fullUrlIs(action('\PanicHD\PanicHD\Controllers\TicketsController@indexNewest')) || $tools->fullUrlIs(action('\PanicHD\PanicHD\Controllers\TicketsController@create')) || (isset($ticket) && $ticket->isNew()) ? "active" : "" !!}">
1010
<a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" title="{{ trans('panichd::lang.nav-new-tickets-title') }}">
1111
<span>{{ trans('panichd::lang.nav-new-tickets') }}</span>
12-
1312
<span class="badge" style="cursor: help">
1413
{{ PanicHD\PanicHD\Models\Ticket::newest()->visible()->count() }}
1514
</span>

0 commit comments

Comments
 (0)