{% if not notrainings %} {% if trainings|length > 0 %}

{{heading}}

{% else %}
{% endif %}
{% for training in trainings %}
{% include "abzeichen/abzeichen-item.html" with {'training': training} %}
{% endfor %}
{% else %}
{% endif %}