Skip to content

Commit

Permalink
Merge remote-tracking branch 'Joomla/4.4-dev' into 5.0-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
bembelimen committed Dec 18, 2023
2 parents 98f264c + 8958389 commit f8cca44
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions administrator/components/com_users/tmpl/users/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,17 @@
<?php endif; ?>
</td>
<td class="text-center d-md-table-cell">
<?php
$activated = empty($item->activation) ? 0 : 1;
echo HTMLHelper::_('jgrid.state', HTMLHelper::_('users.activateStates'), $activated, $i, 'users.', (bool) $activated);
?>
<?php if (empty($item->activation)) : ?>
<span class="icon-check" aria-hidden="true" aria-describedby="tip-activated<?php echo $i; ?>"></span>
<div role="tooltip" id="tip-activated<?php echo $i; ?>">
<?php echo Text::_('COM_USERS_ACTIVATED'); ?>
</div>
<?php else : ?>
<?php echo HTMLHelper::_('jgrid.state', HTMLHelper::_('users.activateStates'), 1, $i, 'users.', true); ?>
<?php endif; ?>
</td>
<?php if ($mfa) : ?>
<td class="text-center d-none d-md-table-cell">
<span class="tbody-icon">
<?php if ($item->mfaRecords > 0 || !empty($item->otpKey)) : ?>
<span class="icon-check" aria-hidden="true" aria-describedby="tip-mfa<?php echo $i; ?>"></span>
<div role="tooltip" id="tip-mfa<?php echo $i; ?>">
Expand All @@ -165,7 +168,6 @@
<?php echo Text::_('COM_USERS_MFA_NOTACTIVE'); ?>
</div>
<?php endif; ?>
</span>
</td>
<?php endif; ?>
<td class="d-none d-md-table-cell">
Expand Down

0 comments on commit f8cca44

Please sign in to comment.