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,13 @@
<div class="table-list-details table-list-details-with-icons">
<span class="table-list-category">
<?= $this->user->getRoleName($user['role']) ?>
</span>
<?php if (! empty($user['name'])): ?>
<span><?= $this->text->e($user['username']) ?></span>
<?php endif ?>
<?php if (! empty($user['email'])): ?>
<span><a href="mailto:<?= $this->text->e($user['email']) ?>"><?= $this->text->e($user['email']) ?></a></span>
<?php endif ?>
</div>