@(file: models.File, classes: String, redirect: Call, showFollow: Boolean)(implicit user: Option[models.User]) @import _root_.util.Formatters.humanReadableByteCount @import api.Permission
@if(!file.thumbnail_id.isEmpty){ Thumbnail of @(file.filename) }

@file.filename

  • Author: @file.author.fullName
  • Uploaded: @file.uploadDate.format("dd MMM, yyyy")
  • Size: @humanReadableByteCount(file.length)
@if(showFollow) { @user match { case Some(viewer) => { } } }