{# /** * @file * Theme override to display a view of unformatted rows. * * Available variables: * - title: The title of this group of rows. May be empty. * - rows: A list of the view's row items. * - attributes: The row's HTML attributes. * - content: The row's content. * - view: The view object. * - default_row_class: A flag indicating whether default classes should be * used on rows. * * @see template_preprocess_views_view_unformatted() */ #} {% if view.current_display == 'block_features_icon_style1' %}
{% if rows %}
{{ rows }}
{% endif %}
{% elseif view.current_display == 'block_features_icon_style2' %}
{% if rows %}
{% if header %}
{{ header }}
{% endif %} {{ rows|render|str_replace_first('col-md-4 col-sm-4 margin-bottom first','col-md-4 col-sm-4 margin-bottom')|str_replace('
','
')|raw }}
{% endif %}
{% elseif view.current_display == 'block_features_icon_style3' %}
{% if rows %}
{% if header %}
{{ header }}
{% endif %} {{ rows|render|str_replace_first('col-md-4 col-sm-4 margin-bottom first','col-md-4 col-sm-4 margin-bottom')|str_replace('
','
')|raw }}
{% endif %}
{% elseif view.current_display == 'block_features_icon_style4' %}
{% if rows %}
{{ header }} {{ rows }}
{% endif %}
{% else %} {{ header }} {{ rows }} {{ footer }} {% endif %}