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 1328a2d commit f5fc5e8Copy full SHA for f5fc5e8
resources/views/layouts/admin.blade.php
@@ -69,6 +69,20 @@
69
</a>
70
71
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
72
+ @if (Auth::user()->isAdministrator())
73
+ <a class="dropdown-item" href="{{ route('admin.profile') }}">
74
+ {{ __('My profile') }}
75
+ </a>
76
+ @elseif (Auth::user()->isHost())
77
+ <a class="dropdown-item" href="{{ route('host.profile') }}">
78
79
80
+ @endif
81
+
82
+ <a class="dropdown-item" href="{{ route('2fa.form') }}">
83
+ {{ __('2FA') }}
84
85
86
<a class="dropdown-item" href="{{ route('logout') }}"
87
onclick="event.preventDefault();
88
document.getElementById('logout-form').submit();">
0 commit comments