diff options
Diffstat (limited to 'app/Template/project/duplicate.php')
-rw-r--r-- | app/Template/project/duplicate.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/Template/project/duplicate.php b/app/Template/project/duplicate.php new file mode 100644 index 00000000..8967c306 --- /dev/null +++ b/app/Template/project/duplicate.php @@ -0,0 +1,23 @@ +<div class="page-header"> + <h2><?= t('Clone this project') ?></h2> +</div> + +<div class="confirm"> + <p class="alert alert-info"> + <?= t('Which parts of the project do you want to duplicate?') ?> + </p> + <form method="post" action="<?= $this->url->href('project', 'duplicate', array('project_id' => $project['id'], 'duplicate' => 'yes')) ?>" autocomplete="off"> + + <?= $this->form->csrf() ?> + + <?= $this->form->checkbox('category', t('Categories'), 1, true) ?> + <?= $this->form->checkbox('action', t('Actions'), 1, true) ?> + <?= $this->form->checkbox('swimlane', t('Swimlanes'), 1, false) ?> + <?= $this->form->checkbox('task', t('Tasks'), 1, false) ?> + + <div class="form-actions"> + <input type="submit" value="<?= t('Duplicate') ?>" class="btn btn-red"/> + <?= t('or') ?> <?= $this->url->link(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?> + </div> + </form> +</div>
\ No newline at end of file |