summaryrefslogtreecommitdiff
path: root/app/Template/file_show.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_show.php
parentb84edaaf13ba854290099b0df452f61e9b595a17 (diff)
Move and clean some templates to a subfolder
Diffstat (limited to 'app/Template/file_show.php')
-rw-r--r--app/Template/file_show.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/app/Template/file_show.php b/app/Template/file_show.php
deleted file mode 100644
index 3832a0f5..00000000
--- a/app/Template/file_show.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php if (! empty($files)): ?>
-<div id="attachments" class="task-show-section">
-
- <div class="page-header">
- <h2><?= t('Attachments') ?></h2>
- </div>
-
- <ul class="task-show-files">
- <?php foreach ($files as $file): ?>
- <li>
- <a href="?controller=file&amp;action=download&amp;file_id=<?= $file['id'] ?>&amp;task_id=<?= $task['id'] ?>"><?= Helper\escape($file['name']) ?></a>
- <span class="task-show-file-actions">
- <?php if ($file['is_image']): ?>
- <a href="?controller=file&amp;action=open&amp;file_id=<?= $file['id'] ?>&amp;task_id=<?= $task['id'] ?>" class="file-popover"><?= t('open') ?></a>,
- <?php endif ?>
- <a href="?controller=file&amp;action=confirm&amp;file_id=<?= $file['id'] ?>&amp;task_id=<?= $task['id'] ?>"><?= t('remove') ?></a>
- </span>
- </li>
- <?php endforeach ?>
- </ul>
-
-</div>
-<?php endif ?> \ No newline at end of file