Skip to content
Snippets Groups Projects

ISTWCMS-5999: refactor groups so commas aren't preceded with a space

1 file
+ 1
7
Compare changes
  • Side-by-side
  • Inline
@@ -8,13 +8,7 @@
{% block details_content %}
<div class="card__groups-list">
{% for group in groups %}
{% if loop.index0 > 0 %}
, {{ group.title }}
{% else %}
{{ group.title }}
{% endif %}
{% endfor %}
{{ groups|map(g => g.title)|join(', ') }}
</div>
{% endblock %}
{% endembed %}
Loading