ElixirVault/www/system-brs-core/sys/sysUsersManager/tmpl/userTableOrders.twig

23 lines
1.2 KiB
Twig

<ul class="dx table-fields ncheckbox">
{% if CFG and CFG|length > 0 %}
{% for k,table in CFG %}
{% if table and table|length > 1 %}
<li>
<div class="title"><div>{{ dt.gM(k) }}</div></div>
<ul class="dx tfields sbox" data-attr-key="data-validator" id="{{k}}" style="display:none;">
{% for kk,field in table %}
<li id="h_{{kk}}" class="{% if loop.first %}first{% endif %}{% if loop.last %} last{% endif %}">
<div>
<div id="{{k}}_{{kk}}" data-validator="h_{{kk}}" class="chk{% if field.sel %} chked{% endif %}{% if kk == "buttons" or kk == "checkbox" %} disabled{% endif %}"><div></div></div>
<label for="{{k}}_{{kk}}">{% if kk == "checkbox" %}{{ dt.gM("Checkbox") }}{% else %}{{field.title}}{% endif %}</label>
</div>
</li>
{% endfor %}
</ul>
</li>
{% endif %}
{% endfor %}
{% else %}
<li><label>{{ dt.gM("No table settings availeble...") }}</label></li>
{% endif %}
</ul>