mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 23:59:26 +01:00
If, then take care of all those kind of menus
This commit is contained in:
parent
479ab3494d
commit
d9db158c2d
|
|
@ -478,14 +478,14 @@
|
|||
|
||||
<div class="dropdown-menu dropdown-menu-right">
|
||||
<a class="dropdown-item logout-button discrete-link"
|
||||
href="{{ $U('/logout') }}"><i class="fa-solid fa-sign-out-alt"></i> {{ $__t('Logout') }}</a>
|
||||
href="{{ $U('/logout') }}"><i class="fa-solid fa-fw fa-sign-out-alt"></i> {{ $__t('Logout') }}</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
@if(!defined('GROCY_EXTERNALLY_MANAGED_AUTHENTICATION'))
|
||||
<a class="dropdown-item logout-button discrete-link"
|
||||
href="{{ $U('/user/' . GROCY_USER_ID . '?changepw=true') }}"><i class="fa-solid fa-key"></i> {{ $__t('Change password') }}</a>
|
||||
href="{{ $U('/user/' . GROCY_USER_ID . '?changepw=true') }}"><i class="fa-solid fa-fw fa-key"></i> {{ $__t('Change password') }}</a>
|
||||
@else
|
||||
<a class="dropdown-item logout-button discrete-link"
|
||||
href="{{ $U('/user/' . GROCY_USER_ID) }}"><i class="fa-solid fa-key"></i> {{ $__t('Edit user') }}</a>
|
||||
href="{{ $U('/user/' . GROCY_USER_ID) }}"><i class="fa-solid fa-fw fa-key"></i> {{ $__t('Edit user') }}</a>
|
||||
@endif
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user