mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 13:39:36 -06:00
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"
|
title="admin.backups.read_only.enable.title"
|
||||||
label="admin.backups.read_only.enable.label"}}
|
label="admin.backups.read_only.enable.label"}}
|
||||||
{{/if}}
|
{{/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>
|
</div>
|
||||||
<table class="grid">
|
<table class="grid">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -96,3 +96,18 @@ button.ru {
|
|||||||
margin-left: 10px;
|
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
Block a user