@(spacesList: List[models.ProjectSpace], when: String, date: String, limit: Int, owner: Option[String], ownerName: Option[String], showAll: Boolean, mode: Option[String], prev: String, next: String, title: Option[String], showPublic: Boolean, onlyTrial: Boolean)(implicit user: Option[models.User]) @import play.api.i18n.Messages @main(Messages("spaces.title")) { @util.masonry()

@title

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

@(user, owner) match { case (Some(u), Some(o)) => { @if(o.equalsIgnoreCase(u.id.stringify)) { @Messages("create.title", "") } } case (Some(u), _) => { @Messages("create.title", "") } case (_,_) => {} }
}