summaryrefslogtreecommitdiff
path: root/app/Template/file/open.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-20 20:26:21 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-20 20:26:21 -0500
commit11b6381cc0f0583a11287202463d20a0ac1ebf00 (patch)
treec973b6686467272ae56914f5e143d09de476d084 /app/Template/file/open.php
parentb84edaaf13ba854290099b0df452f61e9b595a17 (diff)
Move and clean some templates to a subfolder
Diffstat (limited to 'app/Template/file/open.php')
-rw-r--r--app/Template/file/open.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Template/file/open.php b/app/Template/file/open.php
new file mode 100644
index 00000000..6106e6f8
--- /dev/null
+++ b/app/Template/file/open.php
@@ -0,0 +1,6 @@
+<div class="page-header">
+ <h2><?= Helper\escape($file['name']) ?></h2>
+ <div class="task-file-viewer">
+ <img src="<?= Helper\u('file', 'image', array('file_id' => $file['id'], 'task_id' => $file['task_id'])) ?>" alt="<?= Helper\escape($file['name']) ?>"/>
+ </div>
+</div> \ No newline at end of file