@curationObject.name
@Messages("publicationrequest.description"):
@Html(curationObject.description.replace("\n","
"))
Creator(s):
@if(curationObject.creators.length !=0) {
@for(i <- 0 to (curationObject.creators.length - 2) ) {
@curationObject.creators(i).trim
,
}
@curationObject.creators(curationObject.creators.length-1).trim
}
@Messages("owner.label"): @curationObject.author.fullName
Created: @curationObject.created.date.format("MMM dd, yyyy")
Repository: @curationObject.repository.getOrElse("Not selected.")
Submitted: @{curationObject.submittedDate match {
case Some(d) => d.format("MMM dd, yyyy")
case None => "Not submitted"
}
}
Published: @{curationObject.publishedDate match {
case Some(d) => d.format("MMM dd, yyyy")
case None => "Not published."
}
}
External Identifier: @curationObject.externalIdentifier match {
case Some(e) => {
@if(e.toString.startsWith("http://") || e.toString.startsWith("https://")) {
@e
} else {
@e
}
}
case None => {Not Set}
}
Note: The links in this page redirect to the live objects.
Size: @{files.map(_.length).sum /1024} KB
File Formats: @files.map(_.contentType).toSet.mkString(", ")
@Messages("owner.label"): @curationObject.datasets(0).author.fullName
@*if(Permission.checkPermission(Permission.ViewMetadata, ResourceRef(ResourceRef.curationObject, curationObject.id))) {*@
@if(m.filter(_.attachedTo.resourceType == ResourceRef.curationObject).size > 0) {
Metadata
}
@metadatald.view(m.filter(_.attachedTo.resourceType == ResourceRef.curationObject), false)
@*}*@