diff --git a/app/views/files/grid.scala.html b/app/views/files/grid.scala.html
index 58f19da71..348dbd4e8 100644
--- a/app/views/files/grid.scala.html
+++ b/app/views/files/grid.scala.html
@@ -6,9 +6,11 @@
@filesList.map { file =>
@if(parent.resourceType == ResourceRef.folder) {
- @files.listitem(file, (routes.Datasets.dataset(dsId)), Some(dsId.stringify), space, Some(parent.id.stringify), showMove)
+ @files.tile(file, "col-lg-4 col-md-4 col-sm-4", (routes.Datasets.dataset(dsId)), false)
+
} else {
- @files.listitem(file, (routes.Datasets.dataset(dsId)), Some(dsId.stringify), space, None,showMove)
+ @files.tile(file, "col-lg-4 col-md-4 col-sm-4", (routes.Datasets.dataset(dsId)), false)
+
}
}
diff --git a/app/views/files/tile.scala.html b/app/views/files/tile.scala.html
index 5d116ef16..bfea643f7 100644
--- a/app/views/files/tile.scala.html
+++ b/app/views/files/tile.scala.html
@@ -1,4 +1,4 @@
-@(file: models.File, classes: String, redirect: Call, showFollow: Boolean)(implicit user: Option[models.User])
+@(file: models.File, classes: String, redirect: Call, showFollow: Boolean, showAuthor: Boolean = true)(implicit user: Option[models.User])
@import _root_.util.Formatters.humanReadableByteCount
@import api.Permission
@@ -8,20 +8,35 @@
+ @if(user.isDefined) {
+
+
+
+ }
@if(!file.thumbnail_id.isEmpty){
- }
-
+ } else {
+ }
+
- - Author: @file.author.fullName
- - Uploaded: @file.uploadDate.format("dd MMM, yyyy")
- - Size: @humanReadableByteCount(file.length)
+ @if(showAuthor){
+ - Author: @file.author.fullName
+ }
+
+
+ -
+
+ @if(!file.thumbnail_id.isEmpty){
+ @file.filename
+ }
+
+
-
+