{# s_default.html if request.user.id not in [1] and rd_only and k.column in rd_only s_cru.html if (request.user.id in [1]) or (rd_only and k not in rd_only) #} {% if restrict %} {% set rstr = 'd-none' if (not request.user.is_superuser and request.user.id not in restrict) else None %} {% else %} {% set rstr = ''%} {% endif %}
{% if not rstr %} {% endif %}
{% include 's_pagination.html' %}
{% include 'sort_order.html' %}
Hide All Columns
{% if not tbl_cls %} {% set tbl_cls = 'tableFixHead' %} {% endif %} {% if rel_form %} {% for k in rel_form.data._meta.fields %} {% set dis = k.name in rel_form.fields or k.column in rel_form.fields %} {% if not request.user.is_superuser and rd_only and k.column in rd_only %} {% set dis = 'false' %} {% endif %} {% endfor %} {% endif %} {% for k in mdl_form.data._meta.fields %} {% set dis = k.name in mdl_form.fields or k.column in mdl_form.fields %} {% if not request.user.is_superuser and rd_only and k.column in rd_only %} {% set dis = 'false' %} {% endif %} {% endfor %}
{{ k.name.title() | replace('_', ' ') }} {{ k.name.title() | replace('_', ' ') }}
{% include 's_cru.html' %}
{% if ExtraDetail %} {% include ExtraDetail %} {% endif %}