Commit 1b22f591 authored by ZeMKI's avatar ZeMKI
Browse files

Update nav.blade.php

parent 96fa9e0a
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment