summaryrefslogtreecommitdiff
path: root/app/Template/user_list/user_title.php
blob: 02a065c7119cdfe3908eaffc1667b14c05479b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>