diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-14 15:49:59 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-14 15:49:59 -0500 |
commit | 8477da26437cd927b47fbac8874e2a7e02b580ca (patch) | |
tree | 2e1b256eba73a3b719f57ff5df8b4497faa2c3f9 /app/Template/task_file/remove.php | |
parent | 8e25c875f26b05e3138fb4d09d9f720456c09f76 (diff) |
Rename File controller to TaskFile
Diffstat (limited to 'app/Template/task_file/remove.php')
-rw-r--r-- | app/Template/task_file/remove.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Template/task_file/remove.php b/app/Template/task_file/remove.php new file mode 100644 index 00000000..5e6c83f2 --- /dev/null +++ b/app/Template/task_file/remove.php @@ -0,0 +1,15 @@ +<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"?', $this->e($file['name'])) ?> + </p> + + <div class="form-actions"> + <?= $this->url->link(t('Yes'), 'TaskFile', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), 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 |