Added gate in blade

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-06-24 14:01:56 +01:00
parent ce107dd688
commit aa5fe52e89

View file

@ -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>