{% with %} {% set portlets_len = (portlet_tab_list | length) %}
{% if portlets_len == 0 and not model.has_finished(status) %}

Simulation is still running....

Visualizers will be loaded when computation has finished!

{% endif %} {% if portlets_len == 0 and model.has_finished(status) %}

No visualizers configured for this tab to display.

{% endif %} {% for portlet_entity in portlet_tab_list %} {% set width = max_width if (portlets_len==1 or portlets_len==3 and loop.index0==2) else max_width / 2 %} {% set height = max_height/2 - 38 if portlets_len > 1 else max_height - 38 %} {% include 'burst/portlet_visualization_template.html' %} {% endfor %}
{% endwith %}