mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Add "register" to nav.
Add "register" to nav.You need to click "login" to find register, which is not convenient for people who are not familiar with the app.
This commit is contained in:
parent
b7915cc7b0
commit
3c796b1ae7
@ -57,6 +57,9 @@
|
|||||||
@endif
|
@endif
|
||||||
@if(!signedInUser())
|
@if(!signedInUser())
|
||||||
<a href="{{ baseUrl('/login') }}">@icon('login') {{ trans('auth.log_in') }}</a>
|
<a href="{{ baseUrl('/login') }}">@icon('login') {{ trans('auth.log_in') }}</a>
|
||||||
|
@if(setting('registration-enabled', false))
|
||||||
|
<a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
|
||||||
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@if(signedInUser())
|
@if(signedInUser())
|
||||||
|
Loading…
Reference in New Issue
Block a user