Skip to content

Commit

Permalink
Fix page titles for BiblioVino (RPB-37)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Oct 25, 2023
1 parent 3231cdb commit 7089ccc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/advanced.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
@import play.api.libs.json.Json
@import play.api.libs.json.JsValue

@main("NWBib - Erweiterte Suche") {
@main("BiblioVino - Erweiterte Suche") {
@tags.search_advanced("Suchen", person="_", name="_", subject="_")
}
2 changes: 1 addition & 1 deletion app/views/main.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
*@
</ul>
<ul class="nav navbar-nav navbar-right">
<li @if(title=="RPB - Merkliste"){class="active"}><a href="@nwbib.routes.Application.showStars()"><span class="glyphicon glyphicon-star-empty"></span> Merkliste</a></li>
<li @if(title=="BiblioVino - Merkliste"){class="active"}><a href="@nwbib.routes.Application.showStars()"><span class="glyphicon glyphicon-star-empty"></span> Merkliste</a></li>
<li class="divider"></li>
<li @if(title=="NWBib: Kontakt"){class="active"} class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" title="Info"><span class="glyphicon glyphicon-info-sign"></span><b class="caret"></b></a>
Expand Down
2 changes: 1 addition & 1 deletion app/views/search.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
(json\"rpbId").asOpt[String].getOrElse((json\"id").asOpt[String].map(_.replaceAll("https?://lobid.org/resources/","").replaceAll("#!","")).getOrElse(""))
}

@main("RPB - Ergebnisliste") {
@main("BiblioVino - Ergebnisliste") {
@if(Seq(person, name, subject, id, publisher, issued, word, corporation).exists(!_.isEmpty)){
@tags.search_advanced("Suche aktualisieren", q, person, name, subject, nwbibspatial, nwbibsubject, id, publisher, issued, sortParam, word=word, corporation=corporation)
} else {
Expand Down
2 changes: 1 addition & 1 deletion app/views/stars.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
}

@main("RPB - Merkliste") {
@main("BiblioVino - Merkliste") {
@if(ids.isEmpty){
<div class="alert alert-info text-center">
Keine gemerkten Titel. Sie können Titel in der Trefferliste oder der Einzeltrefferanzeige durch Klicken des Sterns hinzufügen.
Expand Down

0 comments on commit 7089ccc

Please sign in to comment.