<div class="mall-orders-list">
    {% if __SELF__.orders.count > 0 %}
        {% partial __SELF__ ~ '::orderlist' orders=__SELF__.orders %}
    {% else %}
        {% partial __SELF__ ~ '::empty' %}
    {% endif %}
</div>
{% partial __SELF__ ~ '::scripts' %}