We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 046e915 commit 7654d36Copy full SHA for 7654d36
resources/themes/pterodactyl/layouts/master.blade.php
@@ -62,7 +62,9 @@
62
<span class="hidden-xs">{{ Auth::user()->name_first }} {{ Auth::user()->name_last }}</span> <span class="caret"></span>
63
</a>
64
<ul class="dropdown-menu" role="menu">
65
- <li><a href="{{ route('admin.index') }}">@lang('strings.admin_control')</a></li>
+ @if(Auth::user()->isRootAdmin())
66
+ <li><a href="{{ route('admin.index') }}">@lang('strings.admin_control')</a></li>
67
+ @endif
68
<li><a href="{{ route('auth.logout') }}">@lang('strings.sign_out')</a></li>
69
</ul>
70
{{-- <ul class="dropdown-menu">
0 commit comments