mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
18 lines
No EOL
809 B
PHP
18 lines
No EOL
809 B
PHP
<table class="table-small">
|
|
<?php foreach($files as $file): ?>
|
|
<tr>
|
|
<th>
|
|
<i class="fa <?= $this->file->icon($file['name']) ?> fa-fw"></i>
|
|
<?= $this->e($file['name']) ?>
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<i class="fa fa-download fa-fw"></i><?= $this->url->link(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
|
|
<?php if ($file['is_image'] == 1): ?>
|
|
<i class="fa fa-eye"></i> <?= $this->url->link(t('open file'), 'file', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
|
|
<?php endif ?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
</table>
|