summaryrefslogtreecommitdiff
path: root/app/Template/project/roles.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project/roles.php')
-rw-r--r--app/Template/project/roles.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Template/project/roles.php b/app/Template/project/roles.php
new file mode 100644
index 00000000..d4cd43cb
--- /dev/null
+++ b/app/Template/project/roles.php
@@ -0,0 +1,7 @@
+<?php if (! empty($roles[$role])): ?>
+ <ul class="no-bullet">
+ <?php foreach ($roles[$role] as $user_id => $user_name): ?>
+ <li><?= $this->url->link($this->e($user_name), 'projectuser', 'opens', array('user_id' => $user_id)) ?></li>
+ <?php endforeach ?>
+ </ul>
+<?php endif ?> \ No newline at end of file