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