summaryrefslogtreecommitdiff
path: root/app/Templates/file_remove.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-23 09:49:26 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-23 09:49:26 -0400
commit7b53d47d467115a173c642526a7d2474a22f88fb (patch)
tree43bd4f9c16d894028977f2d61476e74778527993 /app/Templates/file_remove.php
parenta7167f63c51a5fc24f7d5c6212cd125cee8cdb69 (diff)
Improve user interface
Diffstat (limited to 'app/Templates/file_remove.php')
-rw-r--r--app/Templates/file_remove.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Templates/file_remove.php b/app/Templates/file_remove.php
new file mode 100644
index 00000000..1d26c15e
--- /dev/null
+++ b/app/Templates/file_remove.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=file&amp;action=remove&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