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/open.php | |
| parent | 8e25c875f26b05e3138fb4d09d9f720456c09f76 (diff) | |
Rename File controller to TaskFile
Diffstat (limited to 'app/Template/task_file/open.php')
| -rw-r--r-- | app/Template/task_file/open.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Template/task_file/open.php b/app/Template/task_file/open.php new file mode 100644 index 00000000..e3721b59 --- /dev/null +++ b/app/Template/task_file/open.php @@ -0,0 +1,6 @@ +<div class="page-header"> + <h2><?= $this->e($file['name']) ?></h2> + <div class="task-file-viewer"> + <img src="<?= $this->url->href('TaskFile', 'image', array('file_id' => $file['id'], 'project_id' => $task['project_id'], 'task_id' => $file['task_id'])) ?>" alt="<?= $this->e($file['name']) ?>"/> + </div> +</div>
\ No newline at end of file |
