1

Add badge that displays parent group in detail site

This commit is contained in:
XXNitram
2020-03-20 02:38:24 +01:00
parent 820782c2ce
commit 066d425d35
3 changed files with 19 additions and 1 deletions

View File

@ -39,7 +39,9 @@
<span class="badge badge-pill badge-primary"
th:if="${group.getVisibility() == group.getVisibility().PUBLIC}">Öffentliche Gruppe</span>
<span class="badge badge-pill badge-success" style="background: lightseagreen"
th:if='${group.getType() == group.getType().LECTURE}'> Veranstaltung</span>
th:if='${group.getType() == group.getType().LECTURE}'>Veranstaltung</span>
<span class="badge badge-pill badge-info" style="background: lightseagreen"
th:text="${parent.getTitle()}">Parent</span>
</h3>
<br>
<div class="shadow-sm p-4" style="background: white">

View File

@ -41,6 +41,8 @@
<span class="badge badge-pill badge-success"
style="background: lightseagreen"
th:if='${group.getType() == group.getType().LECTURE}'> Veranstaltung</span>
<span class="badge badge-pill badge-info" style="background: lightseagreen"
th:text="${parent.getTitle()}">Parent</span>
</h3>
<div class="shadow-sm p-4" style="background: white">
<p style="overflow-wrap: break-word"