mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added gate in blade
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
ce107dd688
commit
aa5fe52e89
|
@ -353,12 +353,15 @@ dir="{{ in_array(app()->getLocale(),['ar-SA','fa-IR', 'he-IL']) ? 'rtl' : 'ltr'
|
|||
</a></li>
|
||||
|
||||
|
||||
@can('self.profile')
|
||||
<li>
|
||||
<a href="{{ route('profile') }}">
|
||||
<i class="fas fa-user fa-fw" aria-hidden="true"></i>
|
||||
{{ trans('general.editprofile') }}
|
||||
</a>
|
||||
</li>
|
||||
@endcan
|
||||
|
||||
<li>
|
||||
<a href="{{ route('account.password.index') }}">
|
||||
<i class="fa-solid fa-asterisk fa-fw" aria-hidden="true"></i>
|
||||
|
|
Loading…
Reference in a new issue