Merge branch 'fix/#1110' of git://github.com/cw1998/BookStack into cw1998-fix/#1110

This commit is contained in:
Dan Brown 2019-01-05 15:12:33 +00:00
commit f63fd4beca
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -55,6 +55,9 @@
@if(signedInUser() && userCan('settings-manage')) @if(signedInUser() && userCan('settings-manage'))
<a href="{{ baseUrl('/settings') }}">@icon('settings'){{ trans('settings.settings') }}</a> <a href="{{ baseUrl('/settings') }}">@icon('settings'){{ trans('settings.settings') }}</a>
@endif @endif
@if(signedInUser() && userCan('users-manage') && !userCan('settings-manage'))
<a href="{{ baseUrl('/settings/users') }}">@icon('users'){{ trans('settings.users') }}</a>
@endif
@if(!signedInUser()) @if(!signedInUser())
@if(setting('registration-enabled', false)) @if(setting('registration-enabled', false))
<a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a> <a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>