Redesign users list layout

This commit is contained in:
Frederic Guillot
2017-02-26 12:17:39 -05:00
parent 954b7324f0
commit 159c31cd3f
13 changed files with 220 additions and 88 deletions

View File

@@ -0,0 +1,14 @@
<div>
<?= $this->render('user_list/dropdown', array('user' => $user)) ?>
<span class="table-list-title <?= $user['is_active'] == 0 ? 'status-closed' : '' ?>">
<?= $this->avatar->small(
$user['id'],
$user['username'],
$user['name'],
$user['email'],
$user['avatar_path'],
'avatar-inline'
) ?>
<?= $this->url->link($this->text->e($user['name'] ?: $user['username']), 'UserViewController', 'show', array('user_id' => $user['id'])) ?>
</span>
</div>