From 663ca2f73d88072f35dc33a6b85a3742a8f62e64 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 18 Apr 2019 00:16:42 +0200 Subject: Added icons defining the type of the file Co-authored-by: LarsVomMars --- src/main/resources/views/files.rocker.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/main/resources/views/files.rocker.html') diff --git a/src/main/resources/views/files.rocker.html b/src/main/resources/views/files.rocker.html index 0e42891..a31f6bb 100644 --- a/src/main/resources/views/files.rocker.html +++ b/src/main/resources/views/files.rocker.html @@ -28,10 +28,12 @@ + + Name Size Last modified @@ -39,6 +41,7 @@ Delete + ../ @@ -54,9 +57,19 @@ } else { } + + + @if (fileArray[4] == "true") { + + } else if (fileArray[3] == "false") { + + } else { + + } + @fileArray[0] - @fileArray[1] - @fileArray[2] + @fileArray[1] + @fileArray[2] -- cgit v1.2.3