summaryrefslogtreecommitdiff
path: root/app/Template/task/close.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task/close.php')
-rw-r--r--app/Template/task/close.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Template/task/close.php b/app/Template/task/close.php
new file mode 100644
index 00000000..79150333
--- /dev/null
+++ b/app/Template/task/close.php
@@ -0,0 +1,15 @@
+<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"?', $this->e($task['title'])) ?>
+ </p>
+
+ <div class="form-actions">
+ <?= $this->url->link(t('Yes'), 'task', 'close', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes', 'redirect' => $redirect), 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