| ... | ... |
@@ -1,9 +1,31 @@ |
| 1 | 1 |
<div hx-get="{{ insert_tag('env::request') }}" hx-headers='{"SR-Ajax": "CommunityFriendsModule"}' hx-trigger="updateWaList from:body" class="{{ class }} content-wrapper block"{{ cssID }}{% if style is defined and style is not empty %} style="{{ style }}"{% endif %}>
|
| 2 | 2 |
|
| 3 |
-{% block content %}
|
|
| 4 |
- {% for slot in slots %}
|
|
| 5 |
- {{ slot.time|date('d.m.Y H:i') }}
|
|
| 6 |
- {% endfor %}
|
|
| 7 |
-{% endblock %}
|
|
| 3 |
+ {% block content %}
|
|
| 4 |
+ {% if slots is defined and slots|length %}
|
|
| 5 |
+ <div class="list"> |
|
| 6 |
+ {% for slot in slots %}
|
|
| 7 |
+ <div class="row"> |
|
| 8 |
+ <div class="flex align-items-center"> |
|
| 9 |
+ <div class="full half-500 third-900 time"> |
|
| 10 |
+ <span class="title">Tag/Uhrzeit</span> |
|
| 11 |
+ {{ slot.time|date('d.m.Y H:i') }}
|
|
| 12 |
+ </div> |
|
| 13 |
+ <div class="full half-500 fourth-900 behaelter"> |
|
| 14 |
+ <span class="title">Verfügbare Behälterkapazität</span> |
|
| 15 |
+ {{ slot.behaelter }}
|
|
| 16 |
+ </div> |
|
| 17 |
+ <div class="full two-third-500 fourth-900 rebsorten"> |
|
| 18 |
+ <span class="title">Verarbeitete Sorten</span> |
|
| 19 |
+ {{ slot.sorte }}
|
|
| 20 |
+ </div> |
|
| 21 |
+ <div class="full third-500 sixth-900 align-right action"> |
|
| 22 |
+ <a href="javascript:;" class="button">Anzeigen</a> |
|
| 23 |
+ </div> |
|
| 24 |
+ </div> |
|
| 25 |
+ </div> |
|
| 26 |
+ {% endfor %}
|
|
| 27 |
+ </div> |
|
| 28 |
+ {% endif %}
|
|
| 29 |
+ {% endblock %}
|
|
| 8 | 30 |
|
| 9 | 31 |
</div> |