summaryrefslogtreecommitdiff
path: root/app/Template/task_internal_link/remove.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-18 21:16:25 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-18 21:16:25 -0400
commit73bae9bb3425089babea5f2effe172e5a0938e2b (patch)
tree1c120b40de0434be3184b4083a8d5164748444f1 /app/Template/task_internal_link/remove.php
parent854457baf0043b51ce9c30f36a6fecaed97cb04d (diff)
Rename controller TaskLink to TaskInternalLink
Diffstat (limited to 'app/Template/task_internal_link/remove.php')
-rw-r--r--app/Template/task_internal_link/remove.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Template/task_internal_link/remove.php b/app/Template/task_internal_link/remove.php
new file mode 100644
index 00000000..82156ece
--- /dev/null
+++ b/app/Template/task_internal_link/remove.php
@@ -0,0 +1,15 @@
+<div class="page-header">
+ <h2><?= t('Remove a link') ?></h2>
+</div>
+
+<div class="confirm">
+ <p class="alert alert-info">
+ <?= t('Do you really want to remove this link with task #%d?', $link['opposite_task_id']) ?>
+ </p>
+
+ <div class="form-actions">
+ <?= $this->url->link(t('Yes'), 'TaskInternalLink', 'remove', array('link_id' => $link['id'], 'task_id' => $task['id'], 'project_id' => $task['project_id']), true, 'btn btn-red') ?>
+ <?= t('or') ?>
+ <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
+ </div>
+</div> \ No newline at end of file