discourse/app/assets/javascripts/admin/addon/templates/modal/admin-start-backup.hbs
Martin Brennan b93075a445
DEV: Make admin-start-backup template extendable (#18904)
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.
2022-11-08 10:40:56 +10:00

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>