@(displayedName: String, newsfeed: List[models.Event], profile:User, datasetsList: List[Dataset], collectionsList:List[Collection], spacesList: List[ProjectSpace], deletePermission: Boolean, followers: List[(UUID, String, String, String)], followedUsers: List[(UUID, String, String, String)], followedFiles: List[(UUID, String, String)], followedDatasets: List[(UUID, String, String)], followedCollections: List[(UUID, String, String)], followedSpaces: List[(UUID, String, String)], ownProfile: Option[Boolean], userSelections: List[String])(implicit user: Option[models.User]) @import _root_.util.Formatters @main(displayedName) {

@profile.fullName

Profile @Messages("create.title", Messages("space.title")) @Messages("create.title", Messages("dataset.title")) @Messages("create.title", Messages("collection.title"))
@eventsList(newsfeed)
@* spaces *@

@Messages("space.list.message", Messages("spaces.title"))

@spacesList.map { space => @spaces.tile(space, "col-xs-3", routes.Application.index(), false) }
@if(spacesList.size < 1) {
@Messages("home.empty.message", Messages("spaces.title"))
}
@* datasets *@

@Messages("dataset.list.message", Messages("datasets.title").toLowerCase, Messages("dataset.title").toLowerCase)

@datasetsList.map { dataset => @if(userSelections.indexOf(dataset.id.toString()) != -1) { @datasets.tile(dataset, None, "col-xs-3", false, false, routes.Application.index(), true) } else { @datasets.tile(dataset, None, "col-xs-3", false, false, routes.Application.index(), false) } }
@if(datasetsList.size < 1) {
@Messages("home.empty.message", Messages("datasets.title").toLowerCase)
}
@* collections *@

@Messages("collection.list.message", Messages("collections.title").toLowerCase, Messages("datasets.title").toLowerCase )

@collectionsList.map { collection => @collections.tile(collection, routes.Application.index(), None, "col-xs-3", false) }
@if(collectionsList.size < 1) {
@Messages("home.empty.message", Messages("collections.title").toLowerCase)
}

Followers

@for(row <- followers) { @users.tile(row, "col-xs-2", false) } @if(followers.size < 1) {
This area will show users that follow you. Ask other users to follow you here
}

Following

@for(userInfo <- followedUsers) { @users.tile(userInfo, "col-xs-2", true) }
@for(info <- followedSpaces) {
}
@for(fileInfo <- followedFiles) {

@fileInfo._2.toString

@fileInfo._3
}
@for(datasetInfo <- followedDatasets) {

@datasetInfo._2.toString

@datasetInfo._3
}
@for(collectionInfo <- followedCollections) {

@collectionInfo._2.toString

@collectionInfo._3
}
@******* *if(user.isDefined) { * @carousel(files) *} ********@ }