mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
show manage user menu entry also when the auth view is diabled
This commit is contained in:
parent
5ecd3a585e
commit
519c009684
|
|
@ -628,13 +628,11 @@
|
|||
<i class="fas fa-user-cog"></i> {{ $__t('User settings') }}
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
@if(GROCY_SHOW_AUTH_VIEWS)
|
||||
<a class="dropdown-item discrete-link permission-USERS_READ"
|
||||
href="{{ $U('/users') }}"><i class="fas fa-users"></i> {{ $__t('Manage users') }}</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item discrete-link"
|
||||
href="{{ $U('/manageapikeys') }}"><i class="fas fa-handshake"></i> {{ $__t('Manage API keys') }}</a>
|
||||
@endif
|
||||
<a class="dropdown-item discrete-link"
|
||||
target="_blank"
|
||||
href="{{ $U('/api') }}"><i class="fas fa-book"></i> {{ $__t('REST API & data model documentation') }}</a>
|
||||
|
|
@ -738,4 +736,4 @@
|
|||
@endif
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user