summaryrefslogtreecommitdiff
path: root/app/Template/board/tooltip_files.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/tooltip_files.php')
-rw-r--r--app/Template/board/tooltip_files.php38
1 files changed, 20 insertions, 18 deletions
diff --git a/app/Template/board/tooltip_files.php b/app/Template/board/tooltip_files.php
index 8ee18626..5ade5b5b 100644
--- a/app/Template/board/tooltip_files.php
+++ b/app/Template/board/tooltip_files.php
@@ -1,18 +1,20 @@
-<table class="table-small">
- <?php foreach ($files as $file): ?>
- <tr>
- <th>
- <i class="fa <?= $this->file->icon($file['name']) ?> fa-fw"></i>
- <?= $this->text->e($file['name']) ?>
- </th>
- </tr>
- <tr>
- <td>
- <i class="fa fa-download fa-fw"></i><?= $this->url->link(t('download'), 'FileViewer', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
- <?php if ($file['is_image'] == 1): ?>
- &nbsp;<i class="fa fa-eye"></i> <?= $this->url->link(t('open file'), 'FileViewer', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
- <?php endif ?>
- </td>
- </tr>
- <?php endforeach ?>
-</table> \ No newline at end of file
+<div class="tooltip-large">
+ <table>
+ <?php foreach ($files as $file): ?>
+ <tr>
+ <th>
+ <i class="fa <?= $this->file->icon($file['name']) ?> fa-fw"></i>
+ <?= $this->text->e($file['name']) ?>
+ </th>
+ </tr>
+ <tr>
+ <td>
+ <i class="fa fa-download fa-fw"></i><?= $this->url->link(t('download'), 'FileViewer', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?>
+ <?php if ($file['is_image'] == 1): ?>
+ &nbsp;<i class="fa fa-eye"></i> <?= $this->url->link(t('open file'), 'FileViewer', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
+ <?php endif ?>
+ </td>
+ </tr>
+ <?php endforeach ?>
+ </table>
+</div>