mirror of
https://github.com/discourse/discourse.git
synced 2024-12-23 01:13:47 +08:00
a914d3230b
Followup to 7d8974d02f
Co-authored-by: David Taylor <david@taylorhq.com>
36 lines
871 B
Handlebars
36 lines
871 B
Handlebars
<DModal
|
|
@title={{html-safe
|
|
(i18n "admin.user.merge.confirmation.title" username=@model.username)
|
|
}}
|
|
@closeModal={{@closeModal}}
|
|
>
|
|
<:body>
|
|
<p>
|
|
{{html-safe
|
|
(i18n
|
|
"admin.user.merge.confirmation.description"
|
|
username=@model.username
|
|
targetUsername=@model.targetUsername
|
|
text=this.text
|
|
)
|
|
}}
|
|
</p>
|
|
<Input @type="text" @value={{this.value}} />
|
|
</:body>
|
|
<:footer>
|
|
<DButton
|
|
class="btn-danger"
|
|
@action={{fn @model.merge @model.targetUsername}}
|
|
@icon="trash-can"
|
|
@disabled={{this.mergeDisabled}}
|
|
@translatedLabel={{i18n
|
|
"admin.user.merge.confirmation.transfer_and_delete"
|
|
username=@model.username
|
|
}}
|
|
/>
|
|
<DButton
|
|
@action={{@closeModal}}
|
|
@label="admin.user.merge.confirmation.cancel"
|
|
/>
|
|
</:footer>
|
|
</DModal> |