summaryrefslogtreecommitdiff
path: root/app/Template/link/remove.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-13 17:50:20 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-13 17:50:20 -0500
commit364382b1b58db8bf1bd2c8866e21c869a7a5d6d0 (patch)
treee1bdaf8c76bbb6036b3bb7a3a19e8cc1e2e99604 /app/Template/link/remove.php
parent124f7cad284d7ce867666def5731ad34a9265e63 (diff)
Add task links (Merge pull-request #610)
Diffstat (limited to 'app/Template/link/remove.php')
-rw-r--r--app/Template/link/remove.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Template/link/remove.php b/app/Template/link/remove.php
new file mode 100644
index 00000000..d0b14b08
--- /dev/null
+++ b/app/Template/link/remove.php
@@ -0,0 +1,17 @@
+<section id="main">
+ <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: "%s"?', t($link[0]['label']).(isset($link[1]['label']) ? ' | '.t($link[1]['label']) : '')) ?>
+ </p>
+
+ <div class="form-actions">
+ <?= $this->a(t('Yes'), 'link', 'remove', array('project_id' => $project['id'], 'link_id' => $link[0]['link_id']), true, 'btn btn-red') ?>
+ <?= t('or') ?>
+ <?= $this->a(t('cancel'), 'link', 'index', array('project_id' => $project['id'])) ?>
+ </div>
+ </div>
+</section> \ No newline at end of file