{% extends "./inc/base.html" %} {% block style %} {% endblock%} {% block content %}
{# {% include "./inc/user_left.html" %} #}
    {%if sort%}
    {% set typenum = 1%} {%for val in typevar%} {%if val.search > 1 and val.available==1%} 3 %} class="type_tr_m" style="display:none"{%endif%} > {% set typenum = typenum+1%} {%endif%} {%endfor%}
    {{val.option.title}}: {%if 0 == nsobj[val.option.identifier] or null == nsobj[val.option.identifier]%} 全部 {%else%} 全部 {%endif%} {%for v in val.rules %} {%if v.id|sort_act(nsobj[val.option.identifier])%} {{v.name}}{{val.option.unit}} {%else%} {{v.name}}{{val.option.unit}} {%endif%} {%endfor%} {%for v in val.rules %} {%if v.id|sort_act(nsobj[val.option.identifier])%} {% if v.children%}
    {% for v_ in v.children %} {%if v_.id|sort_act(nsobj[val.option.identifier])%} {{v_.name}}{{val.option.unit}} {%else%} {{v_.name}}{{val.option.unit}} {%endif%} {% endfor %}
    {%endif%} {%endif%} {%endfor%} {%for v in val.rules %} {%if v.id|sort_act(nsobj[val.option.identifier])%} {% if v.children%} {% for v_ in v.children %} {%if v_.id|sort_act(nsobj[val.option.identifier])%} {% if v_.children%}
    {% for v__ in v_.children %} {%if v__.id|sort_act(nsobj[val.option.identifier])%} {{v__.name}}{{val.option.unit}} {%else%} {{v__.name}}{{val.option.unit}} {%endif%} {%endfor%}
    {%endif%} {%endif%} {% endfor %} {%endif%} {%endif%} {%endfor%}
    {% if typenum > 4%} {%endif%}
    {%endif%}
    {% if breadcrumb|length == 0%} [ {% if position %} 全部{%else%}全部{%endif%} {%for key ,val in config.setup.DOCUMENT_POSITION %} {%if position != key %}{{val}}{%else%}{{val}}{% endif %}  {% endfor %}] {%endif%} {%if model|length > 1 %}[ 模型:{%if model_id ==null %}全部{%else%} 全部 {%endif%}  {% for val in modellist%} {% if model_id != val.id %}{{val.title}}{% else %}{{val.title}}{% endif %}  {% endfor %} ]{% endif %} {% if groups %}[ 分组:{%if group_id ==0 %}全部{%else%} 全部{%endif%} {%for key ,val in groups %} {% if group_id != key %}{{val}}{% else %}{{val}}{% endif %}  {% endfor %} ]{% endif %}
    {%if model|length > 1 %} {% endif %}
    {# #}
    {# #} {% for field in list_grids %} {% endfor %} {% for data in list %} {# #} {% for grid in list_grids %} {% endfor %} {% else %} {% endfor %}
    {{field.title}}
    {{data|get_list_field(grid,ctx.controller)| safe}}

    This would display if the 'item' collection were empty

    {% endblock %} {% block script %} {% endblock %}}