diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-31 17:57:02 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-31 17:57:02 -0400 |
commit | 599b6624dde8cb1c1f6416ee0af530402089da4d (patch) | |
tree | 2cc995b09a4b2e67de276389fb28b0040d484296 /app/Template/project/dropdown.php | |
parent | 380aacd3f586089ae5c1e69841c0e0cb99478dcd (diff) |
Improve project navigation
Diffstat (limited to 'app/Template/project/dropdown.php')
-rw-r--r-- | app/Template/project/dropdown.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app/Template/project/dropdown.php b/app/Template/project/dropdown.php new file mode 100644 index 00000000..2e2650a7 --- /dev/null +++ b/app/Template/project/dropdown.php @@ -0,0 +1,41 @@ +<li> + <i class="fa fa-search fa-fw"></i> + <?= $this->url->link(t('Search'), 'projectinfo', 'search', array('project_id' => $project['id'])) ?> +</li> +<li> + <i class="fa fa-check-square-o fa-fw"></i> + <?= $this->url->link(t('Completed tasks'), 'projectinfo', 'tasks', array('project_id' => $project['id'])) ?> +</li> +<li> + <i class="fa fa-dashboard fa-fw"></i> + <?= $this->url->link(t('Activity'), 'projectinfo', 'activity', array('project_id' => $project['id'])) ?> +</li> +<li> + <i class="fa fa-calendar fa-fw"></i> + <?= $this->url->link(t('Calendar'), 'calendar', 'show', array('project_id' => $project['id'])) ?> +</li> + +<?php if ($project['is_public']): ?> +<li> + <i class="fa fa-share-alt fa-fw"></i> <?= $this->url->link(t('Public link'), 'board', 'readonly', array('token' => $project['token']), false, '', '', true) ?> +</li> +<?php endif ?> + +<?php if ($this->user->isManager($project['id'])): ?> +<li> + <i class="fa fa-line-chart fa-fw"></i> + <?= $this->url->link(t('Analytics'), 'analytic', 'tasks', array('project_id' => $project['id'])) ?> +</li> +<li> + <i class="fa fa-pie-chart fa-fw"></i> + <?= $this->url->link(t('Budget'), 'budget', 'index', array('project_id' => $project['id'])) ?> +</li> +<li> + <i class="fa fa-download fa-fw"></i> + <?= $this->url->link(t('Exports'), 'export', 'tasks', array('project_id' => $project['id'])) ?> +</li> +<li> + <i class="fa fa-cog fa-fw"></i> + <?= $this->url->link(t('Settings'), 'project', 'show', array('project_id' => $project['id'])) ?> +</li> +<?php endif ?> |