Added quiz features
This commit is contained in:
@@ -23,6 +23,39 @@
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="{{ route('tickets.index') }}" class="waves-effect">
|
||||
<i class="mdi mdi-headset"></i>
|
||||
<span>تیکتهای پشتیبانی</span>
|
||||
@php
|
||||
$openTicketsCount = \App\Models\Ticket::whereIn('status', ['open', 'user_reply'])->count();
|
||||
@endphp
|
||||
@if($openTicketsCount > 0)
|
||||
<span class="badge badge-pill badge-danger float-right">{{ $openTicketsCount }}</span>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="{{ route('quizzes.index') }}" class="waves-effect">
|
||||
<i class="mdi mdi-format-list-checks"></i>
|
||||
<span>مدیریت آزمونها</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="javascript:%20void(0);" class="has-arrow waves-effect">
|
||||
<i class="mdi mdi-account-circle-outline"></i>
|
||||
<span>پیشنهادات</span>
|
||||
</a>
|
||||
<ul class="sub-menu" aria-expanded="false">
|
||||
<li><a href="{{route('suggestions.index')}}">پیشنهادات</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
<a href="javascript:%20void(0);" class="has-arrow waves-effect">
|
||||
<i class="mdi mdi-account-circle-outline"></i>
|
||||
@@ -256,28 +289,6 @@
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="{{ route('tickets.index') }}" class="waves-effect">
|
||||
<i class="mdi mdi-headset"></i>
|
||||
<span>تیکتهای پشتیبانی</span>
|
||||
@php
|
||||
$openTicketsCount = \App\Models\Ticket::whereIn('status', ['open', 'user_reply'])->count();
|
||||
@endphp
|
||||
@if($openTicketsCount > 0)
|
||||
<span class="badge badge-pill badge-danger float-right">{{ $openTicketsCount }}</span>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="javascript:%20void(0);" class="has-arrow waves-effect">
|
||||
<i class="mdi mdi-account-circle-outline"></i>
|
||||
<span>پیشنهادات</span>
|
||||
</a>
|
||||
<ul class="sub-menu" aria-expanded="false">
|
||||
<li><a href="{{route('suggestions.index')}}">پیشنهادات</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user