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