mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
17 lines
778 B
PHP
17 lines
778 B
PHP
|
<div class="page-header">
|
||
|
<h2><?= t('Attachments') ?></h2>
|
||
|
</div>
|
||
|
|
||
|
<ul class="task-show-files">
|
||
|
<?php foreach ($files as $file): ?>
|
||
|
<li>
|
||
|
<a href="?controller=file&action=download&file_id=<?= $file['id'] ?>&task_id=<?= $task['id'] ?>"><?= Helper\escape($file['name']) ?></a>
|
||
|
<span class="task-show-file-actions">
|
||
|
<?php if ($file['is_image']): ?>
|
||
|
<a href="?controller=file&action=open&file_id=<?= $file['id'] ?>&task_id=<?= $task['id'] ?>" class="file-popover"><?= t('open') ?></a>,
|
||
|
<?php endif ?>
|
||
|
<a href="?controller=file&action=confirm&file_id=<?= $file['id'] ?>&task_id=<?= $task['id'] ?>"><?= t('remove') ?></a>
|
||
|
</span>
|
||
|
</li>
|
||
|
<?php endforeach ?>
|
||
|
</ul>
|