summaryrefslogtreecommitdiff
path: root/public/stylesheets/admin.css
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-31 22:36:17 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-31 22:36:17 +0200
commit529f81b28ed77c62acaa63fad957e751798f2440 (patch)
tree9d928cbe54008b1f75c4b813182970dd0757002c /public/stylesheets/admin.css
parent3b4e1423635fd9f33ae760312e438cc1e484662e (diff)
Warn before the gate refuses, and check restore destinations
nodes#new marks the kinds that place under /updates, derived from each kind's own path_prefix. The three parent pickers mark candidates the current user cannot publish into; menu_search returns needs_redaktion per result, computed per user rather than as a bare restricted flag, and the menu-item picker opts out. restore_from_trash! checks its destination: the restore is the move, applied rather than staged, so no later publish would have caught it. The node returns as a draft either way.
Diffstat (limited to 'public/stylesheets/admin.css')
-rw-r--r--public/stylesheets/admin.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index 55fdf15d..7f286705 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -889,6 +889,7 @@ div.layout_row_content {
889 font-weight: bold; 889 font-weight: bold;
890 color: var(--text-muted); 890 color: var(--text-muted);
891 cursor: not-allowed; 891 cursor: not-allowed;
892 line-height: 1.25rem;
892} 893}
893 894
894.info_group .disabled_action svg { 895.info_group .disabled_action svg {
@@ -973,6 +974,10 @@ form.button_to button[type="submit"] {
973 padding-bottom: 4px; 974 padding-bottom: 4px;
974} 975}
975 976
977.restricted_kind_hint {
978 color: var(--accent);
979}
980
976.action_button + .field_hint { 981.action_button + .field_hint {
977 display: inline; 982 display: inline;
978 margin-left: 0.5rem; 983 margin-left: 0.5rem;
@@ -1459,6 +1464,12 @@ input#menu_item_title {
1459 padding-bottom: 4px; 1464 padding-bottom: 4px;
1460} 1465}
1461 1466
1467.search_results .restricted_result {
1468 display: block;
1469 font-size: 0.85rem;
1470 color: var(--accent);
1471}
1472
1462.search_results p.search_more { 1473.search_results p.search_more {
1463 margin: 0; 1474 margin: 0;
1464 padding: 6px 4px; 1475 padding: 6px 4px;