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>
|
</a></li>
|
||||||
|
|
||||||
|
|
||||||
|
@can('self.profile')
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ route('profile') }}">
|
<a href="{{ route('profile') }}">
|
||||||
<i class="fas fa-user fa-fw" aria-hidden="true"></i>
|
<i class="fas fa-user fa-fw" aria-hidden="true"></i>
|
||||||
{{ trans('general.editprofile') }}
|
{{ trans('general.editprofile') }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@endcan
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ route('account.password.index') }}">
|
<a href="{{ route('account.password.index') }}">
|
||||||
<i class="fa-solid fa-asterisk fa-fw" aria-hidden="true"></i>
|
<i class="fa-solid fa-asterisk fa-fw" aria-hidden="true"></i>
|
||||||
|
|
Loading…
Reference in a new issue