@(
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],
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), None, sharedVia)
@Html(webJarsUtil.css("4.6.4/css/ol.css"))
@Html(webJarsUtil.css("leaflet.css"))
@Html(webJarsUtil.css("bootstrap-colorpicker.min.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("velocity.min.js"))
@Html(webJarsUtil.script("jquery.timeago.js"))
@Html(webJarsUtil.script("blazy.min.js"))
@Html(webJarsUtil.script("bootstrap-colorpicker.min.js"))
@Html(webJarsUtil.script("typeahead.jquery.min.js"))
@Html(webJarsUtil.script("ol.js"))
@Html(webJarsUtil.requireJs(routes.Assets.versioned("javascripts/document/annotation/image/app.js")))
@views.html.document.iconbar(doc.document, currentUser, accessLevel, "edit")
@helper.javascriptRouter("jsRoutes")(
controllers.document.routes.javascript.DocumentController.getImageManifest,
controllers.document.routes.javascript.DocumentController.getImageTile,
controllers.api.annotation.routes.javascript.AnnotationAPIController.listAnnotationsInPart,
controllers.api.annotation.routes.javascript.AnnotationAPIController.createAnnotation,
controllers.api.annotation.routes.javascript.AnnotationAPIController.deleteAnnotation,
controllers.api.entity.routes.javascript.AuthoritiesAPIController.listGazetteers,
controllers.api.entity.routes.javascript.PlaceAPIController.findPlaceByURI,
controllers.api.entity.routes.javascript.PlaceAPIController.searchPlaces
)