summaryrefslogtreecommitdiff
path: root/app/Template/project_user_overview/tooltip_users.php
blob: 8bc821e74bd07ee4c2cc2e1e8ec8022ff33a4950 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php if (empty($users)): ?>
    <p><?= t('There is no project member.') ?></p>
<?php else: ?>
    <table class="table-small">
    <?php foreach ($roles as $role => $role_name): ?>
        <?php if (isset($users[$role])): ?>
        <tr><th><?= $this->text->e($role_name) ?></th></tr>
            <?php foreach ($users[$role] as $user_id => $user): ?>
                <tr><td>
                <?= $this->url->link($this->text->e($user), 'ProjectUserOverviewController', 'opens', array('user_id' => $user_id)) ?>
                </td></tr>
            <?php endforeach ?>
        <?php endif ?>
    <?php endforeach ?>
    </table>
<?php endif ?>