templates/web/customer/items_list/body.twig line 1

Open in your IDE?
  1. {##
  2.  # List main template
  3.  #}
  4. <div {{ this.printTagAttributes(this.getWidgetTagAttributes())|raw }}>
  5.   {% do this.displayCommentedData(this.getJSData()) %}
  6.   {% if this.isHeadVisible() %}
  7.     {% set listHeadTag = this.getListHeadTag() %}
  8.     {% set listHeadClass = this.getListHeadClass() %}
  9.     <{{ listHeadTag }}{% if listHeadClass %} class="{{ listHeadClass }}"{% endif %}>{{ this.getListHead()|raw }}</{{ listHeadTag }}>
  10.   {% endif %}
  11.   {% if this.isHeaderVisible() or this.isPagerVisible() %}
  12.     <div class="list-header-line">
  13.       {% if this.isPagerVisible() %}
  14.         <div class="list-pager">{% do this.pager.display() %}</div>
  15.       {% endif %}
  16.       {% if this.isHeaderVisible() %}
  17.         <div class="list-header">{{ widget_list('header', type='inherited') }}</div>
  18.       {% endif %}
  19.     </div>
  20.   {% endif %}
  21.   {% include this.getPageBodyTemplate() %}
  22.   {% if this.isPagerVisible() and this.pager.isPagesListVisible() %}
  23.     <div class="list-pager list-pager-bottom">{% do this.pager.display() %}</div>
  24.   {% endif %}
  25.   {% if this.isFooterVisible() %}
  26.     <div class="list-footer">{{ widget_list('footer', type='inherited') }}</div>
  27.   {% endif %}
  28.   {% if this.isEmptyListTemplateVisible() %}
  29.     {% include this.getEmptyListTemplate() %}
  30.   {% endif %}
  31. </div>