UX: Show obvious message when backup restoration is disabled
This commit is contained in:
parent
7e08dabeac
commit
ff34ab6aef
|
@ -28,6 +28,11 @@
|
|||
title="admin.backups.read_only.enable.title"
|
||||
label="admin.backups.read_only.enable.label"}}
|
||||
{{/if}}
|
||||
<div class="backup-message">
|
||||
{{#if status.restoreDisabled}}
|
||||
<a href="site_settings/category/all_results?filter=allow_restore">{{d-icon "info-circle"}} {{i18n "admin.backups.operations.restore.is_disabled"}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<table class="grid">
|
||||
<thead>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue