summaryrefslogtreecommitdiff
path: root/templates/task_show.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fguillot@users.noreply.github.com>2014-03-19 21:49:39 -0400
committerFrédéric Guillot <fguillot@users.noreply.github.com>2014-03-19 21:49:39 -0400
commitab63ffafc565e75c73c27910abd465bebb09306e (patch)
tree795e09656cfaf3a2042b714dcc3850c9555dec72 /templates/task_show.php
parent41dd9b2eff07434a3393b20dcd875e76ac3846b3 (diff)
Task duplication
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>