mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:50:51 +08:00
5a810fd6cc
Also, this PR will introduce a new checkbox in the modal window to manage whether the uploads should be included in the backup or not.
27 lines
728 B
Handlebars
27 lines
728 B
Handlebars
<DModal
|
|
@title={{i18n "admin.backups.operations.backup.confirm"}}
|
|
@closeModal={{@closeModal}}
|
|
class="start-backup-modal"
|
|
>
|
|
<:body>
|
|
{{#if this.warningMessage}}
|
|
<div class={{this.warningCssClasses}}>{{html-safe
|
|
this.warningMessage
|
|
}}</div>
|
|
{{/if}}
|
|
{{#if this.canManageUploadsInBackup}}
|
|
<label>
|
|
<Input @type="checkbox" @checked={{this.includeUploads}} />
|
|
{{i18n "admin.backups.operations.backup.include_uploads"}}
|
|
</label>
|
|
{{/if}}
|
|
</:body>
|
|
<:footer>
|
|
<DButton
|
|
class="btn-primary"
|
|
@action={{this.startBackup}}
|
|
@label="yes_value"
|
|
/>
|
|
<DButton class="btn-flat" @action={{@closeModal}} @label="cancel" />
|
|
</:footer>
|
|
</DModal> |