summaryrefslogtreecommitdiff
path: root/app/Template/task_duplication/duplicate.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-19 17:03:06 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-19 17:03:06 -0400
commitfcdd71af2cabdd1252172ac83a24be8672ca34cc (patch)
tree7c449d1c30bfa78e33499995ef73df8fdd424df8 /app/Template/task_duplication/duplicate.php
parent0dd17c6137b41ace3ce9ae58736326d1a7724c78 (diff)
Prompt user when moving or duplicate a task to another project
Diffstat (limited to 'app/Template/task_duplication/duplicate.php')
-rw-r--r--app/Template/task_duplication/duplicate.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Template/task_duplication/duplicate.php b/app/Template/task_duplication/duplicate.php
new file mode 100644
index 00000000..4b50d9ca
--- /dev/null
+++ b/app/Template/task_duplication/duplicate.php
@@ -0,0 +1,15 @@
+<div class="page-header">
+ <h2><?= t('Duplicate a task') ?></h2>
+</div>
+
+<div class="confirm">
+ <p class="alert alert-info">
+ <?= t('Do you really want to duplicate this task?') ?>
+ </p>
+
+ <div class="form-actions">
+ <?= $this->url->link(t('Yes'), 'taskduplication', 'duplicate', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes'), true, 'btn btn-red') ?>
+ <?= t('or') ?>
+ <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
+ </div>
+</div> \ No newline at end of file