also respecting day slots

This commit is contained in:
Jottyfan
2024-12-03 21:13:52 +01:00
parent ebb603b569
commit eef6295bae
6 changed files with 47 additions and 44 deletions

View File

@@ -3,7 +3,7 @@
<body>
<th:block layout:fragment="content">
<div class="borderdist">
<div class="container" sec:authorize="hasAnyRole('Kinderstunde klein', 'Bibelunterricht')">
<div class="container" th:if="${hasDateRole || hasBUrole}">
<pre>Kommende Einteilung für den Bibelunterricht</pre>
<div class="row">
<div class="col-sm-6 col-md-4 col-lg-2 card p-2 m-1" th:each="s : ${list}">
@@ -13,6 +13,9 @@
<div class="alert alert-info" th:if="${list.size() < 1}">Es gibt noch keine neuen Termine oder Zusagen für Termine.</div>
</div>
</div>
<div class="container" th:unless="${hasDateRole || hasBUrole}">
Willkommen im Anmeldeportal für die Gemeindefreizeit.
</div>
</div>
</th:block>
</body>