From fcdd71af2cabdd1252172ac83a24be8672ca34cc Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 19 Jul 2015 17:03:06 -0400 Subject: Prompt user when moving or duplicate a task to another project --- app/Template/task_duplication/move.php | 43 ++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 app/Template/task_duplication/move.php (limited to 'app/Template/task_duplication/move.php') diff --git a/app/Template/task_duplication/move.php b/app/Template/task_duplication/move.php new file mode 100644 index 00000000..e90424a2 --- /dev/null +++ b/app/Template/task_duplication/move.php @@ -0,0 +1,43 @@ + + + +

+ + +
+ + form->csrf() ?> + form->hidden('id', $values) ?> + + form->label(t('Project'), 'project_id') ?> + form->select( + 'project_id', + $projects_list, + $values, + array(), + array('data-redirect="'.$this->url->href('taskduplication', 'move', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'dst_project_id' => 'PROJECT_ID')).'"'), + 'task-reload-project-destination' + ) ?> + + form->label(t('Swimlane'), 'swimlane_id') ?> + form->select('swimlane_id', $swimlanes_list, $values) ?> + + form->label(t('Column'), 'column_id') ?> + form->select('column_id', $columns_list, $values) ?> + + form->label(t('Category'), 'category_id') ?> + form->select('category_id', $categories_list, $values) ?> + + form->label(t('Assignee'), 'owner_id') ?> + form->select('owner_id', $users_list, $values) ?> + +
+ + + url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> +
+
+ + \ No newline at end of file -- cgit v1.2.3