From fc21d3873e3ac63222ad4065a593c715bef4c251 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 31 Jan 2016 17:46:19 -0500 Subject: When creating a new project, have the possibility to select another project to duplicate --- app/Template/project/duplicate.php | 6 +++++- app/Template/project/index.php | 4 ---- app/Template/project/new.php | 24 ------------------------ 3 files changed, 5 insertions(+), 29 deletions(-) delete mode 100644 app/Template/project/new.php (limited to 'app/Template/project') diff --git a/app/Template/project/duplicate.php b/app/Template/project/duplicate.php index 8967c306..ca7d3302 100644 --- a/app/Template/project/duplicate.php +++ b/app/Template/project/duplicate.php @@ -10,13 +10,17 @@ form->csrf() ?> + + form->checkbox('projectPermission', t('Permissions'), 1, true) ?> + + form->checkbox('category', t('Categories'), 1, true) ?> form->checkbox('action', t('Actions'), 1, true) ?> form->checkbox('swimlane', t('Swimlanes'), 1, false) ?> form->checkbox('task', t('Tasks'), 1, false) ?>
- + url->link(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?>
diff --git a/app/Template/project/index.php b/app/Template/project/index.php index 3d2a33ea..c5dd267c 100644 --- a/app/Template/project/index.php +++ b/app/Template/project/index.php @@ -1,10 +1,6 @@