@( doc: services.document.DocumentInfo, currentPart: services.generated.tables.records.DocumentFilepartRecord, currentUser: Option[services.user.User], accessLevel: services.document.RuntimeAccessLevel, 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

@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) }

@helper.javascriptRouter("jsRoutes")( controllers.api.routes.javascript.AnnotationAPIController.listAnnotationsInPart, controllers.api.routes.javascript.AnnotationAPIController.createAnnotation, controllers.api.routes.javascript.AnnotationAPIController.deleteAnnotation, controllers.api.routes.javascript.AnnotationAPIController.bulkUpsert, controllers.api.routes.javascript.PlaceAPIController.findPlaceByURI, controllers.api.routes.javascript.PlaceAPIController.searchPlaces, controllers.document.routes.javascript.DocumentController.getRaw )