mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:59:50 +08:00
FEATURE: Add plugin outlet below login/create, add outlet to mobile
This commit is contained in:
parent
fe6fe324c9
commit
2a7f53065d
|
@ -1,4 +1,5 @@
|
|||
{{#login-modal screenX=lastX screenY=lastY loginName=loginName loginPassword=loginPassword secondFactorToken=secondFactorToken action=(action "login")}}
|
||||
{{plugin-outlet name="login-before-modal-body" tagName=""}}
|
||||
{{#d-modal-body title="login.title" class=modalBodyClasses}}
|
||||
{{#if showLoginButtons}}
|
||||
{{login-buttons
|
||||
|
@ -81,5 +82,7 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{plugin-outlet name="login-after-modal-footer" tagName=""}}
|
||||
|
||||
<div id='login-alert' class={{alertClass}}>{{alert}}</div>
|
||||
{{/login-modal}}
|
||||
|
|
|
@ -128,6 +128,9 @@
|
|||
|
||||
<div class='disclaimer'>{{{disclaimerHtml}}}</div>
|
||||
</div>
|
||||
|
||||
{{plugin-outlet name="create-account-after-modal-footer" tagName=""}}
|
||||
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
{{/create-account}}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{#login-modal screenX=lastX screenY=lastY loginName=loginName loginPassword=loginPassword secondFactorToken=secondFactorToken action=(action "login")}}
|
||||
{{plugin-outlet name="login-before-modal-body"}}
|
||||
{{plugin-outlet name="login-before-modal-body" tagName=""}}
|
||||
{{#d-modal-body title="login.title" class=modalBodyClasses}}
|
||||
|
||||
{{#if canLoginLocal}}
|
||||
|
@ -80,5 +80,7 @@
|
|||
{{conditional-loading-spinner condition=showSpinner size="small"}}
|
||||
</div>
|
||||
|
||||
{{plugin-outlet name="login-after-modal-footer" tagName=""}}
|
||||
|
||||
<div id='login-alert' class={{alertClass}}>{{alert}}</div>
|
||||
{{/login-modal}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user