From 599b6624dde8cb1c1f6416ee0af530402089da4d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 31 May 2015 17:57:02 -0400 Subject: Improve project navigation --- app/Template/project/dropdown.php | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 app/Template/project/dropdown.php (limited to 'app/Template/project/dropdown.php') 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 @@ +
  • + + url->link(t('Search'), 'projectinfo', 'search', array('project_id' => $project['id'])) ?> +
  • +
  • + + url->link(t('Completed tasks'), 'projectinfo', 'tasks', array('project_id' => $project['id'])) ?> +
  • +
  • + + url->link(t('Activity'), 'projectinfo', 'activity', array('project_id' => $project['id'])) ?> +
  • +
  • + + url->link(t('Calendar'), 'calendar', 'show', array('project_id' => $project['id'])) ?> +
  • + + +
  • + url->link(t('Public link'), 'board', 'readonly', array('token' => $project['token']), false, '', '', true) ?> +
  • + + +user->isManager($project['id'])): ?> +
  • + + url->link(t('Analytics'), 'analytic', 'tasks', array('project_id' => $project['id'])) ?> +
  • +
  • + + url->link(t('Budget'), 'budget', 'index', array('project_id' => $project['id'])) ?> +
  • +
  • + + url->link(t('Exports'), 'export', 'tasks', array('project_id' => $project['id'])) ?> +
  • +
  • + + url->link(t('Settings'), 'project', 'show', array('project_id' => $project['id'])) ?> +
  • + -- cgit v1.2.3