30 lines
845 B
Handlebars
30 lines
845 B
Handlebars
<div>
|
|
{{#d-modal-body rawTitle=(i18n "admin.user.merge.prompt.title" username=username)}}
|
|
<p>{{html-safe (i18n "admin.user.merge.prompt.description" username=username)}}</p>
|
|
{{email-group-user-chooser
|
|
value=targetUsername
|
|
autocomplete="discourse"
|
|
onChange=(action "updateUsername")
|
|
options=(hash
|
|
maximum=1
|
|
filterPlaceholder="admin.user.merge.prompt.target_username_placeholder"
|
|
)
|
|
}}
|
|
{{/d-modal-body}}
|
|
|
|
<div class="modal-footer">
|
|
{{#d-button
|
|
class="btn-primary"
|
|
action=(action "showConfirmation")
|
|
icon="trash-alt"
|
|
disabled=mergeDisabled
|
|
}}
|
|
{{i18n "admin.user.merge.prompt.transfer_and_delete" username=username}}
|
|
{{/d-button}}
|
|
{{d-button
|
|
action=(action "close")
|
|
label="admin.user.merge.prompt.cancel"
|
|
}}
|
|
</div>
|
|
</div>
|