summaryrefslogtreecommitdiff
path: root/app/Templates/task_remove_file.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-22 20:58:21 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-22 20:58:21 -0400
commit40917992e775bd21a280eb267241c452e04e5ade (patch)
treec1bf82ab83564bc9ca749f026f54342cbd35374f /app/Templates/task_remove_file.php
parent2230dd4e6b148346c0ec596b9e3e12996a762ed8 (diff)
Add files upload
Diffstat (limited to 'app/Templates/task_remove_file.php')
-rw-r--r--app/Templates/task_remove_file.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Templates/task_remove_file.php b/app/Templates/task_remove_file.php
new file mode 100644
index 00000000..9687b602
--- /dev/null
+++ b/app/Templates/task_remove_file.php
@@ -0,0 +1,14 @@
+<div class="page-header">
+ <h2><?= t('Remove a file') ?></h2>
+</div>
+
+<div class="confirm">
+ <p class="alert alert-info">
+ <?= t('Do you really want to remove this file: "%s"?', Helper\escape($file['name'])) ?>
+ </p>
+
+ <div class="form-actions">
+ <a href="?controller=task&amp;action=removeFile&amp;task_id=<?= $task['id'] ?>&amp;file_id=<?= $file['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> \ No newline at end of file