2020-04-22 16:37:51 +08:00
|
|
|
<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>
|
2021-02-01 18:07:11 +08:00
|
|
|
{{email-group-user-chooser
|
|
|
|
value=targetUsername
|
|
|
|
onChange=(action "updateUsername")
|
|
|
|
options=(hash
|
|
|
|
maximum=1
|
|
|
|
filterPlaceholder="admin.user.merge.prompt.target_username_placeholder"
|
|
|
|
)
|
|
|
|
}}
|
2020-04-22 16:37:51 +08:00
|
|
|
{{/d-modal-body}}
|
|
|
|
|
|
|
|
<div class="modal-footer">
|
2021-02-03 04:46:48 +08:00
|
|
|
{{d-button
|
2020-04-22 16:37:51 +08:00
|
|
|
class="btn-primary"
|
2020-04-30 23:29:33 +08:00
|
|
|
action=(action "showConfirmation")
|
2020-04-22 16:37:51 +08:00
|
|
|
icon="trash-alt"
|
|
|
|
disabled=mergeDisabled
|
2021-02-03 04:46:48 +08:00
|
|
|
translatedLabel=mergeButtonText
|
2020-04-22 16:37:51 +08:00
|
|
|
}}
|
|
|
|
{{d-button
|
2020-04-30 23:29:33 +08:00
|
|
|
action=(action "close")
|
2020-04-22 16:37:51 +08:00
|
|
|
label="admin.user.merge.prompt.cancel"
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
</div>
|