N°3520 - Fix static datatables rows

This commit is contained in:
Eric Espie
2021-10-01 15:18:29 +02:00
parent bd67bc8838
commit 49c5f75c6c

View File

@@ -2,9 +2,8 @@
{# @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 %}
{% 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>
@@ -21,4 +20,3 @@
</td>
{% endfor %}
</tr>