mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3520 - Fix static datatables rows
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
{# @copyright Copyright (C) 2010-2021 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
|
||||
<tr role="row" id="{{ oUIBlock.GetRef() }}_row_{{ oUIBlock.GetRowId() }}" {% for cellName,cellValue in oUIBlock.GetData() %}
|
||||
{% if cellName == '@id' %}id="{{ cellValue }}" {% endif %}
|
||||
{% if cellName == '@class' %} class="{{ cellValue }}"{% endif %}
|
||||
{% if cellName == '@meta' %} {{ cellValue | raw}}{% endif %}{% endfor %}
|
||||
<tr role="row" id="{{ oUIBlock.GetRef() }}_row_{{ oUIBlock.GetRowId() }}" {% for cellName,cellValue in oUIBlock.GetData() %}
|
||||
{% if cellName is same as('@class') %} class="{{ cellValue }}"{% endif %}
|
||||
{% if cellName is same as('@meta') %} {{ cellValue | raw}}{% endif %}{% endfor %}
|
||||
>
|
||||
{% for colName,column in oUIBlock.GetColumns() %}
|
||||
<td>
|
||||
@@ -20,5 +19,4 @@
|
||||
{{ cellValueHtml|raw }}
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
|
||||
</tr>
|
||||
Reference in New Issue
Block a user