From a6a00a00400f164c4b18094999a5ed72366dd519 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 13 Sep 2015 14:07:56 -0400 Subject: First draft for plugins system --- app/Template/project/dropdown.php | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'app/Template/project/dropdown.php') diff --git a/app/Template/project/dropdown.php b/app/Template/project/dropdown.php index 0a53cc05..c9563a4f 100644 --- a/app/Template/project/dropdown.php +++ b/app/Template/project/dropdown.php @@ -9,21 +9,23 @@ +hook->render('project:dropdown', array('project' => $project)) ?> + user->isProjectManagementAllowed($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'])) ?> -
  • +
  • + + 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