@(parent: models.Collection, collection: models.Collection, redirect: Call)(implicit flash: play.api.mvc.Flash, user: Option[models.User]) @import api.Permission
@if(!collection.thumbnail_id.isEmpty){ Thumbnail of @Html(collection.name) } else { }
@Html(collection.description.replace("\n","
"))
@Messages("owner.label"): @collection.author.fullName
Created on @collection.created.format("MMM dd, yyyy")
@if(user.isDefined) { @if(!collection.followers.contains(user.get.id)) { } else { } @if( user.get.id.equals(collection.author.id) || Permission.checkPermission(Permission.RemoveResourceFromCollection, ResourceRef(ResourceRef.collection, collection.id))){ } else {
} }