Skip to content

Commit

Permalink
Use GND, not DNB logo for GND links (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Jan 6, 2025
1 parent 8cd6349 commit 12d502a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/tags/browse_list.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ <h4 class="modal-title" id="[email protected]">Links für @Html(entryLabel
<div class="modal-body">
@for(link <- matches) { <p><a href="@link" target="_blank">
@link match {
case x if x.contains("d-nb.info") => { <img src='@controllers.routes.Assets.at("images/dnb.png")' style="height:1em" alt="Deutsche Nationalbibliothek (DNB)"> }
case x if x.contains("wikidata.org") => { <img src='@controllers.routes.Assets.at("images/wikidata.png")' style="height:1em" alt="Wikidata"> }
case x if x.contains("d-nb.info/gnd") => { <img src='@controllers.routes.Assets.at("images/gnd.png")' style="width:1em" alt="Gemeinsame Normdatei (GND)"> }
case x if x.contains("wikidata.org") => { <img src='@controllers.routes.Assets.at("images/wikidata.png")' style="width:1em" alt="Wikidata"> }
case _ => { <span class="octicon octicon-link"></span> }
}
@link</a></p>
Expand Down
Binary file removed public/images/dnb.png
Binary file not shown.
Binary file added public/images/gnd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 12d502a

Please sign in to comment.