From 5e5af86638d301658d3910b94c68e8a35f676c00 Mon Sep 17 00:00:00 2001 From: BlueTeck Date: Sat, 7 Mar 2015 11:31:53 +0100 Subject: add image thumbnail to task detail view, add icons to common file extensions, better layout in task attachments --- app/Template/board/files.php | 43 +++++++++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 12 deletions(-) (limited to 'app/Template/board/files.php') diff --git a/app/Template/board/files.php b/app/Template/board/files.php index 278b906b..61529434 100644 --- a/app/Template/board/files.php +++ b/app/Template/board/files.php @@ -1,14 +1,33 @@
- - - - a( - $this->e($file['name']), - 'file', - 'download', - array('file_id' => $file['id'], 'task_id' => $file['task_id'], 'project_id' => $task['project_id']) - ) ?> - -
- + + + + + + + + + + + + + + + + + +
+ e($file['name']) + ?> + + a(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> + a(t('open'), 'file', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?> +
+ e($file['name']) + ?> + + a(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> +
-- cgit v1.2.3