summaryrefslogtreecommitdiff
path: root/app/Template/board/files.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-07-04 11:14:21 -0400
committerFrederic Guillot <fred@kanboard.net>2015-07-04 11:14:21 -0400
commit554500aa493faa66b43b2ddce72338880a874724 (patch)
tree73066cfbe6af3cabf81b5be1dc5ef81e44792a21 /app/Template/board/files.php
parenta327f790ee036664439bf50e00c95fb8a0e1f97e (diff)
Refactoring to implement new layout with filters: board/calendar/list views (work in progress)
Diffstat (limited to 'app/Template/board/files.php')
-rw-r--r--app/Template/board/files.php31
1 files changed, 0 insertions, 31 deletions
diff --git a/app/Template/board/files.php b/app/Template/board/files.php
deleted file mode 100644
index 81136659..00000000
--- a/app/Template/board/files.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<section>
- <table>
- <?php if (! empty($images)): ?>
- <?php foreach ($images as $file): ?>
- <tr>
- <td class="column-70">
- <i class="fa fa-file-image-o fa-fw"></i>
- <?= $this->e($file['name']) ?>
- </td>
- <td>
- <i class="fa fa-download"></i> <?= $this->url->link(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
- <i class="fa fa-eye"></i> <?= $this->url->link(t('open'), 'file', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
- </td>
- </tr>
- <?php endforeach ?>
- <?php endif ?>
- <?php if (! empty($files)): ?>
- <?php foreach ($files as $file): ?>
- <tr>
- <td>
- <i class="fa <?= $this->file->icon($file['name']) ?> fa-fw"></i>
- <?= $this->e($file['name']) ?>
- </td>
- <td>
- <i class="fa fa-download"></i> <?= $this->url->link(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
- </td>
- </tr>
- <?php endforeach ?>
- <?php endif ?>
- </table>
-</section>