Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ZeMKI
Mesort
Commits
1b22f591
Commit
1b22f591
authored
May 24, 2022
by
ZeMKI
Browse files
Update nav.blade.php
parent
96fa9e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
resources/views/layouts/nav.blade.php
View file @
1b22f591
...
...
@@ -54,9 +54,11 @@
<div
id=
"dropdownLogout"
class=
"absolute right-0 hidden w-48 py-1 mt-2 origin-top-right bg-white rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"
role=
"menu"
aria-orientation=
"vertical"
aria-labelledby=
"user-menu-button"
tabindex=
"-1"
>
@if(auth()->user()->isAdmin())
<a
title=
"User Profile"
class=
"flex w-full px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"
role=
"menuitem"
tabindex=
"-1"
id=
"user-menu-item-0"
href=
"{{ route('userprofile') }}"
>
{{__('User
Profile')}}
</a>
@endif
<form
id=
"logout-form"
action=
"{{ route('logout') }}"
method=
"POST"
style=
"display: none;"
>
@csrf
</form>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment