1

fix visibility recognition in detailsMember.html

This commit is contained in:
killerber4t
2020-03-18 12:47:03 +01:00
parent b8936052cb
commit 0828c278dc

View File

@ -33,8 +33,8 @@
<h1 style="color: dodgerblue; font-weight: bold" th:text="${group.getTitle()}"></h1>
<p style="font-weight: bold">
<span class="badge badge-pill badge-dark" style="background: darkslategray" th:if="${group.getVisibility() == group.getVisibility().PRIVATE }">Private Gruppe</span>
<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>
<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>
</p>
<p th:text="${group.getDescription()}"></p>
<div class="form-group">