Skip to content
Snippets Groups Projects
Commit 402a3c94 authored by Huste, Tobias's avatar Huste, Tobias
Browse files

Merge branch 'spotlights-commas-in-multi-statements' into 'master'

Add commas in multiple statements in spotlights pages

See merge request !349
parents f7cc0f33 0ae02b8d
No related branches found
No related tags found
1 merge request!349Add commas in multiple statements in spotlights pages
......@@ -19,13 +19,13 @@
<div class="alert alert-success spotlight-info">
<h3>Centres</h3>
{% for center in page.hgf_centers %}
<span>{{ center }}</span>
<span>{{ center }}{% unless forloop.last %},{% endunless %}</span>
{% endfor %}
{% if page.contributing_organisations %}
<h3>Contributing organisations</h3>
{% for org in page.contributing_organisations %}
<span>{{ org }}</span>
<span>{{ org }}{% unless forloop.last %},{% endunless %}</span>
{% endfor %}
{% endif %}
......@@ -40,7 +40,7 @@
{% if page.scientific_community %}
<h3>Scientific community</h3>
{% for obj in page.scientific_community %}
<span>{{ obj }}</span>
<span>{{ obj }}{% unless forloop.last %},{% endunless %}</span>
{% endfor %}
{% endif %}
......@@ -56,7 +56,7 @@
{% if page.programming_languages %}
<h3><i class="fas fa-code"></i> Programming Languages</h3>
{% for obj in page.programming_languages %}
<span>{{ obj }}</span>
<span>{{ obj }}{% unless forloop.last %},{% endunless %}</span>
{% endfor %}
{% endif %}
......
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