summaryrefslogtreecommitdiff
path: root/app/Template/project_user/sidebar.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/project_user/sidebar.php')
-rw-r--r--app/Template/project_user/sidebar.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/Template/project_user/sidebar.php b/app/Template/project_user/sidebar.php
new file mode 100644
index 00000000..f57323d5
--- /dev/null
+++ b/app/Template/project_user/sidebar.php
@@ -0,0 +1,28 @@
+<div class="sidebar">
+ <h2><?= t('Actions') ?></h2>
+
+ <?= $this->form->select(
+ 'user_id',
+ $users,
+ $filter,
+ array(),
+ array('data-redirect-url="'.$this->url->href('projectuser', $action, array('user_id' => 'USER_ID')).'"', 'data-redirect-regex="USER_ID"'),
+ 'chosen-select select-auto-redirect'
+ ) ?>
+
+ <br/><br/>
+ <ul>
+ <li>
+ <?= $this->url->link(t('Project managers'), 'projectuser', 'managers', $filter) ?>
+ </li>
+ <li>
+ <?= $this->url->link(t('Project members'), 'projectuser', 'members', $filter) ?>
+ </li>
+ <li>
+ <?= $this->url->link(t('Open tasks'), 'projectuser', 'opens', $filter) ?>
+ </li>
+ <li>
+ <?= $this->url->link(t('Closed tasks'), 'projectuser', 'closed', $filter) ?>
+ </li>
+ </ul>
+</div> \ No newline at end of file