mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
templates/user/auth/signin.tmpl: hide sign up prompt when registration is disabled #884
This commit is contained in:
@@ -1 +1 @@
|
||||
0.5.13.0211 Beta
|
||||
0.5.13.0212 Beta
|
@@ -26,10 +26,12 @@
|
||||
<button class="btn btn-green btn-large btn-radius">{{.i18n.Tr "sign_in"}}</button>
|
||||
{{if not .IsSocialLogin}}<a href="{{AppSubUrl}}/user/forget_password">{{.i18n.Tr "auth.forget_password"}}</a>{{end}}
|
||||
</div>
|
||||
{{if .ShowRegistrationButton}}
|
||||
<div class="field">
|
||||
<label></label>
|
||||
<a href="{{AppSubUrl}}/user/sign_up">{{.i18n.Tr "auth.sign_up_now" | Str2html}}</a>
|
||||
</div>
|
||||
{{end}}
|
||||
{{if and (not .IsSocialLogin) .OauthEnabled}}
|
||||
<hr/>
|
||||
<div id="sign-social" class="text-center social-buttons">
|
||||
|
Reference in New Issue
Block a user