discourse/app/assets/javascripts/admin/addon/components/modal/start-backup.hbs
Martin Brennan c80b5b718c
FIX: Add checkbox-label to more checkbox label elements (#24174)
Followup to e2d9117378, which
made these labels bold because they were missing the correct
class.
2023-10-31 08:57:50 +01:00

27 lines
751 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 class="checkbox-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>