diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-19 16:51:25 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-19 16:51:25 -0400 |
commit | caf8cb3323e4ef9af2f76b639785d083540d4687 (patch) | |
tree | a1d099c88e875347466974712eb5a7c722e32dad /app/Template/board/tooltip_files.php | |
parent | 6351cb0e27eea05a2b0a8063b8b0df0abc49896d (diff) |
Improve board tooltips
Diffstat (limited to 'app/Template/board/tooltip_files.php')
-rw-r--r-- | app/Template/board/tooltip_files.php | 38 |
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): ?> - <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): ?> + <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> |