From 8e5bdaae8dcb6881bd816c240b666b420ab0a1ea Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Fri, 12 Sep 2025 15:58:15 -0400 Subject: [PATCH] refactor: Improve XFS v4 notice display in filesystem warnings - Changed the XFS v4 notice from a span to a div for better styling and layout. - Removed the .notice class to prevent duplicate icons, enhancing the visual clarity of the warning message. --- emhttp/plugins/dynamix/include/Helpers.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/emhttp/plugins/dynamix/include/Helpers.php b/emhttp/plugins/dynamix/include/Helpers.php index e8c9a8cad..1e0594956 100644 --- a/emhttp/plugins/dynamix/include/Helpers.php +++ b/emhttp/plugins/dynamix/include/Helpers.php @@ -713,9 +713,10 @@ function get_inline_fs_warnings($disk) { $html .= ' ' . htmlspecialchars(_($warning['message'])) . ''; } else { - // XFS v4 - notice - $html .= ' ' . - htmlspecialchars(_($warning['message'])) . ''; + // XFS v4 - notice (without .notice class to avoid duplicate icon) + $html .= '
' . + ' ' . + htmlspecialchars(_($warning['message'])) . '
'; } }