<div class="js-router--dashboard dashboard">
    <script>
        window.dashboardLayoutId = '{{ dashboardLayoutId }}';
    </script>
    <div class="d-grid">
        <div class="d-row">
            {% if blocks | length %}
                {% for block in blocks %}
                    {% include block.view with {'block': block } %}
                {% endfor %}
            {% else %}
                <div class="middlearea_container col-md-12">
                    <div class="alert alert-danger text-center">{{ Lang_translate('_DASHBOARD_NO_LAYOUTS', 'dashboardsetting') }}</div>
                </div>
            {% endif %}
        </div>
    </div>
</div>

