mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 20:48:46 +02:00
N°3123 - Refactor Directories
This commit is contained in:
21
templates/base/layouts/dashboard/column/layout.html.twig
Normal file
21
templates/base/layouts/dashboard/column/layout.html.twig
Normal file
@@ -0,0 +1,21 @@
|
||||
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
{# Dashboard Column #}
|
||||
{% apply spaceless %}
|
||||
{% if oUIBlock.IsEditMode() %}
|
||||
{% if oUIBlock.IsLastRow() %}
|
||||
{% set sCellClass = "layout_cell edit_mode layout_extension" %}
|
||||
{% else %}
|
||||
{% set sCellClass = "layout_cell edit_mode" %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% set sCellClass = "dashboard" %}
|
||||
{% endif %}
|
||||
<div class="ibo-dashboard--grid-column ibo-dashboard--grid-cell {{ sCellClass }}"
|
||||
data-dashboard-grid-column-index="{{ oUIBlock.GetColumnIndex() }}"
|
||||
data-dashboard-grid-cell-index="{{ oUIBlock.GetCellIndex() }}">
|
||||
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
|
||||
{{ render_block(oSubBlock, {aPage: aPage}) }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endapply %}
|
||||
Reference in New Issue
Block a user