summaryrefslogtreecommitdiff
path: root/templates/task_show.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/task_show.php')
-rw-r--r--templates/task_show.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/task_show.php b/templates/task_show.php
index cc1d9e25..986b240d 100644
--- a/templates/task_show.php
+++ b/templates/task_show.php
@@ -3,6 +3,8 @@
<h2>#<?= $task['id'] ?> - <?= Helper\escape($task['title']) ?></h2>
<ul>
<li><a href="?controller=board&amp;action=show&amp;project_id=<?= $task['project_id'] ?>"><?= t('Back to the board') ?></a></li>
+ <li><a href="?controller=task&amp;action=duplicate&amp;project_id=<?= $task['project_id'] ?>&amp;task_id=<?= $task['id'] ?>"><?= t('Duplicate') ?></a></li>
+ <!-- <li><a href="#"><?= t('Duplicate to another project') ?></a></li> -->
</ul>
</div>
<section>