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

16 lines
570 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>