fix: cleanup stale teamer pickups
This commit is contained in:
1 parent
e4d64558b9
commit
39e6f35374
3 files changed
+53
-2
No files matched your search
@@ -29,9 +29,16 @@
|
||||
Zustiege
|
||||
</h2>
|
||||
<ul class="pb-4 divide-y divide-gray-200">
|
||||
{% set pickupLabels = [] %}
|
||||
{% for pickup in teamer.pickups %}
|
||||
{% set label = pickup|bpn_pickup_label %}
|
||||
{% if label is not empty %}
|
||||
{% set pickupLabels = pickupLabels|merge([label]) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for label in pickupLabels %}
|
||||
<li class="py-2">
|
||||
{{ pickup|bpn_pickup_label }}
|
||||
{{ label }}
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="py-2">
|
||||
|
||||
@@ -141,9 +141,16 @@
|
||||
Buszustiege
|
||||
</h2>
|
||||
<ul class="list-disc pl-4">
|
||||
{% set pickupLabels = [] %}
|
||||
{% for pickup in teamer.pickups %}
|
||||
{% set label = pickup|bpn_pickup_label %}
|
||||
{% if label is not empty %}
|
||||
{% set pickupLabels = pickupLabels|merge([label]) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for label in pickupLabels %}
|
||||
<li>
|
||||
{{ pickup|bpn_pickup_label }}
|
||||
{{ label }}
|
||||
</li>
|
||||
{% else %}
|
||||
<li>
|
||||
|
||||
Reference in new issue
Block a user