You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.3 KiB
32 lines
1.3 KiB
<div class="dashboard-grid-center" id="grid-center">
|
|
{% for block in blocks.top %}
|
|
{% if block.roles|length == 0 or is_granted_affirmative(block.roles) %}
|
|
<div class="{{ block.class }}">
|
|
{{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% for block in blocks.center %}
|
|
{% if block.roles|length == 0 or is_granted_affirmative(block.roles) %}
|
|
<div class="{{ block.class }}">
|
|
{{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% for block in blocks.down %}
|
|
{% if block.roles|length == 0 or is_granted_affirmative(block.roles) %}
|
|
<div class="{{ block.class }}">
|
|
{{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
<div class="dashboard-grid-right" id="grid-right">
|
|
{% for block in blocks.right %}
|
|
{% if block.roles|length == 0 or is_granted_affirmative(block.roles) %}
|
|
<div class="{{ block.class }}">
|
|
{{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|