-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathgrid.scala.html
More file actions
17 lines (15 loc) · 880 Bytes
/
grid.scala.html
File metadata and controls
17 lines (15 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@(filesList: List[File], fileComments: Map[UUID, Int], dsId: UUID, space: Option[String], parent: ResourceRef, showMove: Boolean)(implicit user: Option[models.User])
@util.masonry()
<div class="row" id="tile-view">
<div class="col-md-12">
@filesList.map { file =>
@if(parent.resourceType == ResourceRef.folder) {
@files.tile(file, "col-lg-4 col-md-4 col-sm-4", (routes.Datasets.dataset(dsId)), false)
<!-- @files.listitem(file, (routes.Datasets.dataset(dsId)), Some(dsId.stringify), space, Some(parent.id.stringify), showMove) -->
} else {
@files.tile(file, "col-lg-4 col-md-4 col-sm-4", (routes.Datasets.dataset(dsId)), false)
<!-- @files.listitem(file, (routes.Datasets.dataset(dsId)), Some(dsId.stringify), space, None,showMove) -->
}
}
</div>
</div>