Rename File controller to TaskFile

This commit is contained in:
Frederic Guillot
2016-02-14 15:49:59 -05:00
parent 8e25c875f2
commit 8477da2643
13 changed files with 29 additions and 31 deletions

View File

@@ -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>