Skip to content

Commit

Permalink
Exclude subjects from details view if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Nov 12, 2024
1 parent cb21eff commit 575cbbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/tags/result_doc.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
}

@subjects(subjects: Seq[JsValue]) = {
@if(!subjects.isEmpty) {
<tr>
<td>Schlagwörter</td>
<td>
Expand All @@ -157,6 +158,7 @@
} else { | }
}</td>
</tr>
}
}

@sortedPublications(seq: Seq[JsValue]) = @{
Expand Down

0 comments on commit 575cbbd

Please sign in to comment.