From 7651d965daa389b56d8d123faadf8f1153db85bb Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Mon, 20 Jan 2025 16:23:39 +0100 Subject: [PATCH] Move all identifier into on separate section #2133 --- web/app/views/tags/result_doc.scala.html | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/web/app/views/tags/result_doc.scala.html b/web/app/views/tags/result_doc.scala.html index adbe7b616..71ed87086 100644 --- a/web/app/views/tags/result_doc.scala.html +++ b/web/app/views/tags/result_doc.scala.html @@ -180,7 +180,6 @@ } @table(){ - @result_field("URI", "id", doc, TableRow.VALUES, node = Option(doc)) Titel@((doc\"title").asOpt[String].getOrElse(""))@for(corporateBodyForTitle <- (doc \ "corporateBodyForTitle").asOpt[Seq[String]]){. @corporateBodyForTitle} @result_field("Titelzusatz", "otherTitleInformation", doc, TableRow.VALUES) @result_field("Alternativer Titel", "alternativeTitle", doc, TableRow.VALUES) @@ -194,13 +193,6 @@ @for(pub <- sortedPublications((doc\"publication").asOpt[Seq[JsValue]].getOrElse(Seq()))){ @publication(pub) } @result_field("Auflage", "edition", doc, TableRow.VALUES) - @result_field("ISBN", "isbn", doc, TableRow.VALUES, node = Option(doc)) - @result_field("ISSN", "issn", doc, TableRow.VALUES, node = Option(doc)) - @result_field("hbz-ID", "hbzId", doc, TableRow.VALUES, node = Option(doc)) - @result_field("ZDB-ID", "zdbId", doc, TableRow.VALUES, node = Option(doc)) - @result_field("Alma-MMS-ID", "almaMmsId", doc, TableRow.VALUES, node = Option(doc)) - @withPrefixedLink("DOI", "https://dx.doi.org/", doc \ "doi") - @withPrefixedLink("URN", "https://nbn-resolving.org/", doc \ "urn") @result_field("Umfang", "extent", doc, TableRow.VALUES) @result_field("Quelle", "bibliographicCitation", doc, TableRow.VALUES) @result_field("In", "containedIn", doc, TableRow.LINKS) @@ -219,4 +211,18 @@ @labelled("Inhaltsangabe", "description") @labelled("Inhaltsverzeichnis", "tableOfContents") } + +@table(){ + Identifier: + @result_field("ISBN", "isbn", doc, TableRow.VALUES, node = Option(doc)) + @result_field("ISSN", "issn", doc, TableRow.VALUES, node = Option(doc)) + @result_field("hbz-ID", "hbzId", doc, TableRow.VALUES, node = Option(doc)) + @result_field("ZDB-ID", "zdbId", doc, TableRow.VALUES, node = Option(doc)) + @result_field("Alma-MMS-ID", "almaMmsId", doc, TableRow.VALUES, node = Option(doc)) + @withPrefixedLink("DOI", "https://dx.doi.org/", doc \ "doi") + @withPrefixedLink("URN", "https://nbn-resolving.org/", doc \ "urn") + @result_field("URI", "id", doc, TableRow.VALUES, node = Option(doc)) + } + + @subjects((doc \ "subject").asOpt[Seq[JsValue]].getOrElse(Seq()))