summaryrefslogtreecommitdiff
path: root/app/Template/project_user_overview/tooltip_users.php
blob: 99b00030821651ba72c15758f6c1ccb801a382a5 (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><?= $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 ?>