From 89feb0ae03c5a492526df077b2a3b382b0428ca8 Mon Sep 17 00:00:00 2001 From: phecho Date: Tue, 13 Dec 2016 19:49:16 +0800 Subject: Implement feature #2843 --- app/Template/project_overview/files.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/Template/project_overview/files.php') diff --git a/app/Template/project_overview/files.php b/app/Template/project_overview/files.php index 826e6325..1326a7d1 100644 --- a/app/Template/project_overview/files.php +++ b/app/Template/project_overview/files.php @@ -18,6 +18,11 @@ url->link(t('View file'), 'FileViewerController', 'show', array('project_id' => $project['id'], 'file_id' => $file['id']), false, 'popover') ?> + file->getBrowserViewType($file['name']) !== null): ?> +
  • + + url->link(t('View file'), 'FileViewerController', 'browser', array('project_id' => $project['id'], 'file_id' => $file['id']), false, '', '', true) ?> +
  • -- cgit v1.2.3