refactor counter

This commit is contained in:
thomas girod committed 2024-07-21 10:51:08 +02:00
1 parent d9531838f2
commit 82d3791859
7 files changed
+98 -139

No files matched your search

+2 -3
View File
@@ -14,9 +14,8 @@
{% if counter.type == 'BAR' %}
<h4>{% trans %}Barmen list{% endtrans %}</h4>
<ul>
{% set barmans_list = counter.get_barmen_list() %}
{% if barmans_list | length > 0 %}
{% for b in barmans_list %}
{% if counter.barmen_list | length > 0 %}
{% for b in counter.barmen_list %}
<li>{{ user_profile_link(b) }}</li>
{% endfor %}
{% else %}