discourse/app/assets/javascripts/admin/addon/templates/modal/admin-merge-users-confirmation.hbs
2022-12-28 13:11:12 +00:00

32 lines
745 B
Handlebars

<div>
<DModalBody
@rawTitle={{i18n
"admin.user.merge.confirmation.title"
username=this.username
}}
>
<p>{{html-safe
(i18n
"admin.user.merge.confirmation.description"
username=this.username
targetUsername=this.targetUsername
text=this.text
)
}}</p>
<Input @type="text" @value={{this.value}} />
</DModalBody>
<div class="modal-footer">
<DButton
@class="btn-danger"
@action={{action "confirm"}}
@icon="trash-alt"
@disabled={{this.mergeDisabled}}
@translatedLabel={{this.mergeButtonText}}
/>
<DButton
@action={{action "close"}}
@label="admin.user.merge.confirmation.cancel"
/>
</div>
</div>