2020-04-22 16:37:51 +08:00
|
|
|
<div>
|
2022-07-06 01:41:31 +08: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 18:07:11 +08:00
|
|
|
maximum=1
|
|
|
|
filterPlaceholder="admin.user.merge.prompt.target_username_placeholder"
|
2022-06-30 18:30:50 +08:00
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</DModalBody>
|
2020-04-22 16:37:51 +08:00
|
|
|
|
|
|
|
<div class="modal-footer">
|
2022-07-06 01:41:31 +08:00
|
|
|
<DButton
|
|
|
|
@class="btn-primary"
|
|
|
|
@action={{action "showConfirmation"}}
|
|
|
|
@icon="trash-alt"
|
|
|
|
@disabled={{this.mergeDisabled}}
|
|
|
|
@translatedLabel={{this.mergeButtonText}}
|
2022-06-30 18:30:50 +08:00
|
|
|
/>
|
|
|
|
<DButton
|
|
|
|
@action={{action "close"}}
|
|
|
|
@label="admin.user.merge.prompt.cancel"
|
2022-12-28 20:28:11 +08:00
|
|
|
/>
|
2020-04-22 16:37:51 +08:00
|
|
|
</div>
|
|
|
|
</div>
|