From 1fcca22b7ba304b188daddc0c9cb180b33de240d Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Sat, 7 Sep 2024 14:44:12 +0300 Subject: [PATCH] Add support for Administartion and Moderation column-links in 4.3.0-beta.1 (2024-09-07) --- CHANGELOG.md | 1 + layout-multiple-columns.css | 18 ++++++++++++++++++ layout-single-column.css | 20 +++++++++++++++++++- 3 files changed, 38 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 541e922..02a0b08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ### 2.0.0rc48: 2024-09-07 * Fix indicator for private mentions when grouped notifications are enabled in 4.3.0 +* Add support for Administartion and Moderation column-links in 4.3.0-beta.1 (2024-09-07) ### 2.0.0rc47: 2024-08-23 diff --git a/layout-multiple-columns.css b/layout-multiple-columns.css index f8e6c21..ef502b1 100644 --- a/layout-multiple-columns.css +++ b/layout-multiple-columns.css @@ -3204,6 +3204,24 @@ body.embed .button.logo-button:hover, order: 12; } + .layout-multiple-columns .column-link[href="/admin/dashboard"] { + order: 11; + } + + .layout-multiple-columns .column-link[href="/admin/reports"] { + order: 12; + } + + .layout-multiple-columns .column-link[href="/admin/dashboard"] path { + /* stylelint-disable-next-line declaration-no-important */ + display: block !important; + } + + .layout-multiple-columns .column-link[href="/admin/reports"] path { + /* stylelint-disable-next-line declaration-no-important */ + display: block !important; + } + /* stylelint-disable-next-line no-duplicate-selectors */ .layout-multiple-columns .list-panel { order: 13; diff --git a/layout-single-column.css b/layout-single-column.css index 55c020e..d6fbc99 100644 --- a/layout-single-column.css +++ b/layout-single-column.css @@ -3423,13 +3423,31 @@ body.embed .button.logo-button:hover, } .layout-single-column .column-link[href="/search"] { - order: 12; + order: 11; } .layout-single-column .column-link[href="/lists"] { order: 13; } + .layout-single-column .column-link[href="/admin/dashboard"] { + order: 11; + } + + .layout-single-column .column-link[href="/admin/reports"] { + order: 12; + } + + .layout-single-column .column-link[href="/admin/dashboard"] path { + /* stylelint-disable-next-line declaration-no-important */ + display: block !important; + } + + .layout-single-column .column-link[href="/admin/reports"] path { + /* stylelint-disable-next-line declaration-no-important */ + display: block !important; + } + /* stylelint-disable-next-line no-duplicate-selectors */ .layout-single-column .list-panel { order: 13;