Skip to content

Commit

Permalink
com_users groups
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Jul 17, 2018
1 parent 91e7571 commit e6fbcda
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions administrator/components/com_users/tmpl/groups/default.php
Expand Up @@ -44,21 +44,21 @@
<table class="table" id="groupList">
<thead>
<tr>
<th style="width:1%" class="nowrap">
<td style="width:1%" class="nowrap">
<?php echo HTMLHelper::_('grid.checkall'); ?>
</th>
<th class="nowrap">
</td>
<th scope="col" class="nowrap">
<?php echo HTMLHelper::_('searchtools.sort', 'COM_USERS_HEADING_GROUP_TITLE', 'a.title', $listDirn, $listOrder); ?>
</th>
<th style="width:10%" class="nowrap text-center">
<th scope="col" style="width:10%" class="nowrap text-center">
<span class="icon-publish hasTooltip" aria-hidden="true" title="<?php echo Text::_('COM_USERS_COUNT_ENABLED_USERS'); ?>"></span>
<span class="d-none d-md-inline"><?php echo Text::_('COM_USERS_COUNT_ENABLED_USERS'); ?></span>
</th>
<th style="width:10%" class="nowrap text-center">
<th scope="col" style="width:10%" class="nowrap text-center">
<span class="icon-unpublish hasTooltip" aria-hidden="true" title="<?php echo Text::_('COM_USERS_COUNT_DISABLED_USERS'); ?>"></span>
<span class="d-none d-md-inline"><?php echo Text::_('COM_USERS_COUNT_DISABLED_USERS'); ?></span>
</th>
<th style="width:10%" class="nowrap d-none d-md-table-cell text-center">
<th scope="col" style="width:10%" class="nowrap d-none d-md-table-cell text-center">
<?php echo HTMLHelper::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
</th>
</tr>
Expand Down Expand Up @@ -88,7 +88,7 @@
<?php echo HTMLHelper::_('grid.id', $i, $item->id); ?>
<?php endif; ?>
</td>
<td>
<th scope="row">
<?php echo LayoutHelper::render('joomla.html.treeprefix', array('level' => $item->level + 1)); ?>
<?php if ($canEdit) : ?>
<a href="<?php echo Route::_('index.php?option=com_users&task=group.edit&id=' . $item->id); ?>" title="<?php echo Text::_('JACTION_EDIT'); ?> <?php echo $this->escape(addslashes($item->title)); ?>">
Expand All @@ -100,7 +100,7 @@
<div class="small"><a href="<?php echo Route::_('index.php?option=com_users&view=debuggroup&group_id=' . (int) $item->id); ?>">
<?php echo Text::_('COM_USERS_DEBUG_GROUP'); ?></a></div>
<?php endif; ?>
</td>
</th>
<td class="text-center btns">
<a class="badge <?php echo $item->count_enabled > 0 ? 'badge-success' : 'badge-secondary'; ?>" href="<?php echo Route::_('index.php?option=com_users&view=users&filter[group_id]=' . (int) $item->id . '&filter[state]=0'); ?>">
<?php echo $item->count_enabled; ?></a>
Expand Down

0 comments on commit e6fbcda

Please sign in to comment.