From 346151e103431e8de12520b26daae10676b8faf5 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 3 Feb 2016 20:53:07 -0500 Subject: Add dropdown menu with inline popup for all task actions --- app/Template/subtask/menu.php | 21 +++++++++++++++++++++ app/Template/subtask/show.php | 31 ++++++++++--------------------- 2 files changed, 31 insertions(+), 21 deletions(-) create mode 100644 app/Template/subtask/menu.php (limited to 'app/Template/subtask') diff --git a/app/Template/subtask/menu.php b/app/Template/subtask/menu.php new file mode 100644 index 00000000..f14b09b2 --- /dev/null +++ b/app/Template/subtask/menu.php @@ -0,0 +1,21 @@ + diff --git a/app/Template/subtask/show.php b/app/Template/subtask/show.php index 027e9495..cf56a1de 100644 --- a/app/Template/subtask/show.php +++ b/app/Template/subtask/show.php @@ -62,32 +62,21 @@ - + render('subtask/menu', array( + 'project' => $project, + 'task' => $task, + 'subtask' => $subtask, + 'redirect' => $redirect, + 'first_position' => $first_position, + 'last_position' => $last_position, + )) ?> + +

user->hasProjectAccess('subtask', 'save', $task['project_id'])): ?> -- cgit v1.2.3