summaryrefslogtreecommitdiff
path: root/templates/task_close.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-17 18:26:17 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-17 18:26:17 -0400
commitf9c24f3c2c46eccd18e70704c0e8767fa6023206 (patch)
tree0e26337e3910ef10a88a8093967748ce54bcc701 /templates/task_close.php
parent4d677b720e818f9d14585479699335ec41ed3541 (diff)
Add the possibility to remove a task
Diffstat (limited to 'templates/task_close.php')
-rw-r--r--templates/task_close.php22
1 files changed, 8 insertions, 14 deletions
diff --git a/templates/task_close.php b/templates/task_close.php
index 6bc32813..3531b37d 100644
--- a/templates/task_close.php
+++ b/templates/task_close.php
@@ -1,16 +1,10 @@
-<section id="main">
- <div class="page-header">
- <h2><?= t('Close a task') ?></h2>
- </div>
-
- <div class="confirm">
- <p class="alert alert-info">
- <?= t('Do you really want to close this task: "%s"?', Helper\escape($task['title'])) ?>
- </p>
+<div class="confirm">
+ <p class="alert alert-info">
+ <?= t('Do you really want to close this task: "%s"?', Helper\escape($task['title'])) ?>
+ </p>
- <div class="form-actions">
- <a href="?controller=task&amp;action=close&amp;task_id=<?= $task['id'] ?>" class="btn btn-red"><?= t('Yes') ?></a>
- <?= t('or') ?> <a href="?controller=task&amp;action=show&amp;task_id=<?= $task['id'] ?>"><?= t('cancel') ?></a>
- </div>
+ <div class="form-actions">
+ <a href="?controller=task&amp;action=close&amp;task_id=<?= $task['id'] ?>" class="btn btn-red"><?= t('Yes') ?></a>
+ <?= t('or') ?> <a href="?controller=task&amp;action=show&amp;task_id=<?= $task['id'] ?>"><?= t('cancel') ?></a>
</div>
-</section> \ No newline at end of file
+</div> \ No newline at end of file