Skip to content

Commit

Permalink
Only create links for HTTP-IDs in details view (RPB-256)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Feb 25, 2025
1 parent d8e6d68 commit cf27734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/TableRow.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private String label(JsonNode doc, String value, List<String> properties) {
String result =
properties.get(i).equals("numbering") || value.equals("--")
? currentValue
: String.format(
: !value.startsWith("http") ? label : String.format(
"<a title=\"Titeldetails anzeigen\" href=\"%s\">%s</a>",
refAndLabel[0], label);
results.add(result.replace("Band", "").trim());
Expand Down

0 comments on commit cf27734

Please sign in to comment.