Skip to content
Snippets Groups Projects
Commit a34b3f7c authored by Kevin Paxman's avatar Kevin Paxman
Browse files

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

parent 3ef38160
No related branches found
No related tags found
1 merge request!68ISTWCMS-5999: refactor groups so commas aren't preceded with a space
...@@ -8,13 +8,7 @@ ...@@ -8,13 +8,7 @@
{% block details_content %} {% block details_content %}
<div class="card__groups-list"> <div class="card__groups-list">
{% for group in groups %} {{ groups|map(g => g.title)|join(', ') }}
{% if loop.index0 > 0 %}
, {{ group.title }}
{% else %}
{{ group.title }}
{% endif %}
{% endfor %}
</div> </div>
{% endblock %} {% endblock %}
{% endembed %} {% endembed %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment