Skip to content

Commit

Permalink
apply HTMLHelper icon including sr-only
Browse files Browse the repository at this point in the history
  • Loading branch information
hans2103 committed Oct 1, 2020
1 parent a3d7b64 commit 3babe70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/joomla/searchtools/default/noitems.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@

defined('_JEXEC') or die;

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

$data = $displayData;
?>
<div class="alert alert-info">
<span class="fas fa-info-circle" aria-hidden="true"></span><span class="sr-only"><?php echo Text::_('INFO'); ?></span>
<?php echo HTMLHelper::_('icon', 'fas fa-info-circle', Text::_('INFO')); ?>
<?php echo $data['options']['noResultsText']; ?>
</div>

0 comments on commit 3babe70

Please sign in to comment.