From 6d2f3f2ef973b775ab5ecd721016719429f94593 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Mon, 28 Nov 2022 10:02:36 +0100 Subject: [PATCH] chg: [elements:settings-notice] Improved UI --- templates/element/Settings/notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/element/Settings/notice.php b/templates/element/Settings/notice.php index c7baeb5..38c1f64 100644 --- a/templates/element/Settings/notice.php +++ b/templates/element/Settings/notice.php @@ -52,7 +52,7 @@ foreach (array_keys($mainNoticeHeading) as $level) { 'fields' => [ ['path' => 'name', 'label' => __('Name'), 'formatter' => function($name, $row) { $settingID = preg_replace('/(\.|\W)/', '_', h($row['true-name'])); - return sprintf('%s', $settingID, $settingID, h($name)); + return sprintf('%s', $settingID, $settingID, h($name)); }], ['path' => 'setting-path', 'label' => __('Category'), 'formatter' => function($path, $row) { return '' . h(str_replace('.', ' ▸ ', $path)) . '';