summaryrefslogtreecommitdiff
path: root/app/Template/user_list/user_title.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/user_list/user_title.php')
-rw-r--r--app/Template/user_list/user_title.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Template/user_list/user_title.php b/app/Template/user_list/user_title.php
new file mode 100644
index 00000000..02a065c7
--- /dev/null
+++ b/app/Template/user_list/user_title.php
@@ -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>