- {% if parent == "" %} {% else %} {% endif %}
{% for subloc in location.locations %} {% include "report/light/location.html" with location=subloc parent=location.id %} {% endfor %} {% if location.engineries|length > 0 %} {% include "report/light/engineries.html" with location=location %} {% endif %}