2020-04-22 04:37:51 -04:00
|
|
|
<div>
|
2022-07-05 13:41:31 -04:00
|
|
|
<DModalBody @rawTitle={{i18n "admin.user.merge.prompt.title" username=this.username}}>
|
|
|
|
<p>{{html-safe (i18n "admin.user.merge.prompt.description" username=this.username)}}</p>
|
|
|
|
<EmailGroupUserChooser @value={{this.targetUsername}} @onChange={{action "updateUsername"}} @options={{hash
|
2021-02-01 05:07:11 -05:00
|
|
|
maximum=1
|
|
|
|
filterPlaceholder="admin.user.merge.prompt.target_username_placeholder"
|
2022-06-30 06:30:50 -04:00
|
|
|
}} />
|
|
|
|
</DModalBody>
|
2020-04-22 04:37:51 -04:00
|
|
|
|
|
|
|
<div class="modal-footer">
|
2022-07-05 13:41:31 -04:00
|
|
|
<DButton @class="btn-primary" @action={{action "showConfirmation"}} @icon="trash-alt" @disabled={{this.mergeDisabled}} @translatedLabel={{this.mergeButtonText}} />
|
2022-06-30 06:30:50 -04:00
|
|
|
<DButton @action={{action "close"}} @label="admin.user.merge.prompt.cancel" />
|
2020-04-22 04:37:51 -04:00
|
|
|
</div>
|
|
|
|
</div>
|