Skip to content

Commit

Permalink
Merge pull request #2134 from hbz/2133-identifierSection
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx authored Jan 22, 2025
2 parents e6508a5 + 7651d96 commit ed9b852
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions web/app/views/tags/result_doc.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@
}

@table(){
@result_field("URI", "id", doc, TableRow.VALUES, node = Option(doc))
<tr><td>Titel</td><td>@((doc\"title").asOpt[String].getOrElse(""))@for(corporateBodyForTitle <- (doc \ "corporateBodyForTitle").asOpt[Seq[String]]){. @corporateBodyForTitle}</td></tr>
@result_field("Titelzusatz", "otherTitleInformation", doc, TableRow.VALUES)
@result_field("Alternativer Titel", "alternativeTitle", doc, TableRow.VALUES)
Expand All @@ -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)
Expand All @@ -219,4 +211,18 @@
@labelled("Inhaltsangabe", "description")
@labelled("Inhaltsverzeichnis", "tableOfContents")
}

@table(){
<tr><td><b>Identifier:</b></td><td></td></tr>
@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()))

0 comments on commit ed9b852

Please sign in to comment.