added support for youth group

This commit is contained in:
Jottyfan
2025-12-14 17:39:19 +01:00
parent 08442dc7ea
commit 3726b9172c
35 changed files with 228 additions and 870 deletions

View File

@@ -14,7 +14,11 @@
</thead>
<tbody>
<tr th:each="s : ${list}">
<td th:data-sort="${#temporals.format(s.slotDay, 'yyyy-MM-dd')}"><a th:href="@{/slot/{id}(id=${s.pkSlot})}" th:text="${#temporals.format(s.slotDay, 'dd.MM.yyyy')}"></a></td>
<td th:data-sort="${#temporals.format(s.slotDay, 'yyyy-MM-dd')}">
<a th:href="@{/slot/{id}(id=${s.pkSlot})}" th:text="${#temporals.format(s.slotDay, 'dd.MM.yyyy')}"></a><br />
<span class="smallbadge tagbu" th:if="${s.bibleclass}">Bibelunterricht</span>
<span class="smallbadge tagju" th:if="${s.youthgroup}">Jungschar</span>
</td>
<td><a th:href="@{/lesson?slotId={id}(id=${s.pkSlot})}" class="btn btn-outline-secondary"> <span th:text="${s.abbreviation}" th:if="${s.abbreviation}"></span> <i
class="bi bi-pencil" th:if="${s.abbreviation == null || s.abbreviation.isBlank()}"></i>
</a></td>