discourse/app/assets/javascripts/admin/addon/templates/modal/admin-merge-users-prompt.hbs
Peter Wagenet 371bbadb92
No implicit this codemod (#17235)
* Run no-implicit-this codemod for app templates
* Run tagless-ember-components-codemod for plugins
* Turn on no-implicit-this lint
2022-07-05 19:41:31 +02:00

15 lines
723 B
Handlebars

<div>
<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
maximum=1
filterPlaceholder="admin.user.merge.prompt.target_username_placeholder"
}} />
</DModalBody>
<div class="modal-footer">
<DButton @class="btn-primary" @action={{action "showConfirmation"}} @icon="trash-alt" @disabled={{this.mergeDisabled}} @translatedLabel={{this.mergeButtonText}} />
<DButton @action={{action "close"}} @label="admin.user.merge.prompt.cancel" />
</div>
</div>