summaryrefslogtreecommitdiff
path: root/app/Template/project_user_overview/tooltip_users.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project_user_overview/tooltip_users.php')
-rw-r--r--app/Template/project_user_overview/tooltip_users.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Template/project_user_overview/tooltip_users.php b/app/Template/project_user_overview/tooltip_users.php
new file mode 100644
index 00000000..7117a87f
--- /dev/null
+++ b/app/Template/project_user_overview/tooltip_users.php
@@ -0,0 +1,16 @@
+<?php if (empty($users)): ?>
+ <p><?= t('There is no project member.') ?></p>
+<?php else: ?>
+ <table>
+ <?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 ?>