Add file attachements to projects
This commit is contained in:
8
app/Template/file_viewer/show.php
Normal file
8
app/Template/file_viewer/show.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="page-header">
|
||||
<h2><?= $this->e($file['name']) ?></h2>
|
||||
<div class="task-file-viewer">
|
||||
<?php if ($file['is_image']): ?>
|
||||
<img src="<?= $this->url->href('FileViewer', 'image', $params) ?>" alt="<?= $this->e($file['name']) ?>">
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user