summaryrefslogtreecommitdiff
path: root/app/Template/task_file/open.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_file/open.php')
-rw-r--r--app/Template/task_file/open.php6
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