From 3833c12ccce59bcc49c4cfa892401973558f604d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 2 Jan 2017 17:01:27 -0500 Subject: Refactoring/rewrite of modal boxes handling --- app/Template/project_header/dropdown.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app/Template/project_header') diff --git a/app/Template/project_header/dropdown.php b/app/Template/project_header/dropdown.php index baf4cc16..27d3fd3f 100644 --- a/app/Template/project_header/dropdown.php +++ b/app/Template/project_header/dropdown.php @@ -24,8 +24,7 @@ user->hasProjectAccess('TaskCreationController', 'show', $project['id'])): ?>
  • - - url->link(t('Add a new task'), 'TaskCreationController', 'show', array('project_id' => $project['id']), false, 'popover') ?> + modal->large('plus', t('Add a new task'), 'TaskCreationController', 'show', array('project_id' => $project['id'])) ?>
  • @@ -71,7 +70,7 @@ - user->hasProjectAccess('ProjectEditController', 'edit', $project['id'])): ?> + user->hasProjectAccess('ProjectEditController', 'show', $project['id'])): ?>
  • url->link(t('Settings'), 'ProjectViewController', 'show', array('project_id' => $project['id'])) ?> -- cgit v1.2.3