Skip to content

Commit

Permalink
[4.0] Fix Fieldset description display (joomla#30435)
Browse files Browse the repository at this point in the history
  • Loading branch information
infograf768 authored and sakiss committed Oct 16, 2020
1 parent ccf78d4 commit 3212941
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion layouts/joomla/edit/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@
// Include the description when available
if (isset($fieldSet->description) && trim($fieldSet->description))
{
echo '<div class="alert alert-info">' . $this->escape(Text::_($fieldSet->description)) . '</div>';
echo '<div class="alert alert-info">';
echo '<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only">' . Text::_('INFO') . '</span> ';
echo Text::_($fieldSet->description);
echo '</div>';
}

echo '<div class="column-count-md-2 column-count-lg-3">';
Expand Down

0 comments on commit 3212941

Please sign in to comment.