mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 15:53:43 +08:00
b93075a445
We need to change the content of this modal in different plugins based on context, so move some parts of it into the JS file.
9 lines
543 B
Handlebars
9 lines
543 B
Handlebars
<DModalBody @title="admin.backups.operations.backup.confirm">
|
|
{{#if this.warningMessage}}
|
|
<div class="alert alert-warning">{{html-safe this.warningMessage}}</div>
|
|
{{/if}}
|
|
<DButton @class="btn-primary backup-with-uploads" @action={{action "startBackupWithUploads"}} @label={{this.yesLabel}} />
|
|
<DButton @class="backup-no-uploads" @action={{action "startBackupWithoutUploads"}} @label="admin.backups.operations.backup.without_uploads" />
|
|
<DButton @class="btn-default" @action={{action "cancel"}} @label="no_value" />
|
|
</DModalBody>
|