diff --git a/administrator/templates/atum/scss/blocks/_alerts.scss b/administrator/templates/atum/scss/blocks/_alerts.scss index e1c93378be175..2b3e95b3dd617 100644 --- a/administrator/templates/atum/scss/blocks/_alerts.scss +++ b/administrator/templates/atum/scss/blocks/_alerts.scss @@ -31,6 +31,10 @@ } } +.alert-parent { + margin-top: 0; +} + fieldset .alert { &.alert-info { margin: -1rem 0 1rem; @@ -52,4 +56,3 @@ fieldset .alert { transform: translateY(0); } } - diff --git a/layouts/joomla/edit/params.php b/layouts/joomla/edit/params.php index d1c590d10abd9..da51a483d2af9 100644 --- a/layouts/joomla/edit/params.php +++ b/layouts/joomla/edit/params.php @@ -118,6 +118,16 @@ { echo '
'; echo '' . $label . ''; + + // Include the description when available + if (!empty($fieldSet->description)) + { + echo '
'; + echo '' . Text::_('INFO') . ' '; + echo Text::_($fieldSet->description); + echo '
'; + } + echo '
'; } // Tabs @@ -147,7 +157,7 @@ echo '' . $label . ''; // Include the description when available - if (isset($fieldSet->description) && trim($fieldSet->description)) + if (!empty($fieldSet->description)) { echo '
'; echo '' . Text::_('INFO') . ' '; @@ -159,6 +169,14 @@ $opentab = 2; } + // Include the description when available + elseif (!empty($fieldSet->description)) + { + echo '
'; + echo '' . Text::_('INFO') . ' '; + echo Text::_($fieldSet->description); + echo '
'; + } } // We're on the deepest level => output fields