{% if case_studies|length > 0 %}

Contributed {% trans %}Case Studies{% endtrans %}

{% for entity in case_studies %} {% if loop.first %}
{% endif %}
{% if entity.photos|length > 0 %}
{% set col_added = 0 %} {% for photo in entity.photos %} {% if loop.first %} {% endif %} {% set col_added = col_added + 1 %} {% if not loop.first and loop.index%3 == 0 %} {% set col_added = 0 %} {% endif %} {% endfor %} {% if col_added == 1 %} {% elseif col_added == 2 %} {% endif %}
{% endif %}

Approved: {% if entity.approved %}Yes{% else %}No{% endif %} Status: {% if entity.enabled %}Enabled{% else %}Disabled{% endif %}

{% if not loop.first and loop.index%3 == 0 %}
{% endif %} {% endfor %}
{% endif %}