diff --git a/app/assets/javascripts/admin/templates/backups-index.hbs b/app/assets/javascripts/admin/templates/backups-index.hbs index ee7abc5f3a9..7f0675e5a59 100644 --- a/app/assets/javascripts/admin/templates/backups-index.hbs +++ b/app/assets/javascripts/admin/templates/backups-index.hbs @@ -28,6 +28,11 @@ title="admin.backups.read_only.enable.title" label="admin.backups.read_only.enable.label"}} {{/if}} +
+ {{#if status.restoreDisabled}} + {{d-icon "info-circle"}} {{i18n "admin.backups.operations.restore.is_disabled"}} + {{/if}} +
diff --git a/app/assets/stylesheets/common/admin/backups.scss b/app/assets/stylesheets/common/admin/backups.scss index b5d8658639d..718de153b1d 100644 --- a/app/assets/stylesheets/common/admin/backups.scss +++ b/app/assets/stylesheets/common/admin/backups.scss @@ -96,3 +96,18 @@ button.ru { margin-left: 10px; } } + +.backup-options { + display: flex; + align-items: center; + flex-wrap: wrap; + button { + margin-right: 0.5em; + } + .backup-message { + margin-left: auto; + @include breakpoint(mobile-extra-large) { + margin: 1.25em 0 0; + } + } +}