@( doc: services.document.ExtendedDocumentMetadata, currentPart: services.generated.tables.records.DocumentFilepartRecord, currentUser: Option[services.user.User], accessLevel: services.RuntimeAccessLevel, clonedFrom: Option[services.generated.tables.records.DocumentRecord], clones: Seq[services.generated.tables.records.DocumentRecord], prefs: Seq[services.generated.tables.records.DocumentPreferencesRecord], preview: String, annotationCount: Long, sharedVia: Option[controllers.document.annotation.AnnotationSummary] )(implicit request: RequestHeader, messages: Messages, webJarsUtil: org.webjars.play.WebJarsUtil) Recogito | @doc.author.map(_ + ": ")@doc.title @views.html.document.annotation._meta(doc, annotationCount, Some(currentPart), Some(preview), sharedVia) @Html(webJarsUtil.css("leaflet.css")) @Html(webJarsUtil.script("leaflet.js")) @Html(webJarsUtil.script("1.12.0/jquery.min.js")) @Html(webJarsUtil.script("jquery-ui.min.js")) @Html(webJarsUtil.script("jquery.timeago.js")) @Html(webJarsUtil.script("velocity.min.js")) @Html(webJarsUtil.script("typeahead.jquery.min.js")) @Html(webJarsUtil.script("rangy-core.min.js")) @Html(webJarsUtil.script("rangy-classapplier.min.js")) @Html(webJarsUtil.requireJs(routes.Assets.versioned("javascripts/document/annotation/tei/app.js"))) @views.html.document.iconbar(doc.document, currentUser, accessLevel, "edit")

@doc.author.map(_ + ": ")@doc.title @views.html.document.annotation._clonedFrom(doc, clonedFrom)

@doc.dateFreeform

@views.html.document.sourceLink(doc.source)

- Annotations   ·   No Other Contributors @if(doc.license.isDefined) {   ·   @views.html.document.licenseInfo(doc.license.get, doc.attribution) } @if(clones.size > 0) {   ·   Cloned @clones.size @if(clones.size == 1) { time } else { times } }

Html(s"""lang="${l}""""))>
@helper.javascriptRouter("jsRoutes")( controllers.api.annotation.routes.javascript.AnnotationAPIController.listAnnotationsInPart, controllers.api.annotation.routes.javascript.AnnotationAPIController.createAnnotation, controllers.api.annotation.routes.javascript.AnnotationAPIController.deleteAnnotation, controllers.api.annotation.routes.javascript.AnnotationAPIController.bulkUpsert, controllers.api.annotation.routes.javascript.AnnotationAPIController.bulkDelete, controllers.api.entity.routes.javascript.AuthoritiesAPIController.listGazetteers, controllers.api.entity.routes.javascript.PlaceAPIController.findPlaceByURI, controllers.api.entity.routes.javascript.PlaceAPIController.searchPlaces, controllers.document.routes.javascript.DocumentController.getRaw )