From ed074d176406ca3ce5ba8fa6e0c4511f729efa5b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 21:24:24 -0400 Subject: Move task import outside of project settings --- app/Template/project_header/dropdown.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'app/Template/project_header') diff --git a/app/Template/project_header/dropdown.php b/app/Template/project_header/dropdown.php index 6b5c51a6..79a1b389 100644 --- a/app/Template/project_header/dropdown.php +++ b/app/Template/project_header/dropdown.php @@ -67,11 +67,18 @@ user->hasProjectAccess('ExportController', 'tasks', $project['id'])): ?>
  • - + url->link(t('Exports'), 'ExportController', 'tasks', array('project_id' => $project['id'])) ?>
  • + user->hasProjectAccess('TaskImportController', 'tasks', $project['id'])): ?> +
  • + + url->link(t('Imports'), 'TaskImportController', 'show', array('project_id' => $project['id'])) ?> +
  • + + user->hasProjectAccess('ProjectEditController', 'edit', $project['id'])): ?>
  • -- cgit v1.2.3