{# /** * @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_latest_works_grid_style1' %} {% if rows %}
{{ title_prefix }} {{ title }} {{ title_suffix }} {% if header %}
{{ header }}
{% endif %}
{{ rows }}
{% endif %} {% elseif view.current_display == 'block_latest_works_grid_style2' %} {% if rows %}
{{ title_prefix }} {{ title }} {{ title_suffix }} {% if header %} {{ header }}
{% endif %}
{{ rows }}
{% endif %} {% elseif view.current_display == 'block_latest_works_grid_style3' %} {% if rows %}
{{ title_prefix }} {{ title }} {{ title_suffix }} {{ rows }}
{% endif %} {% elseif view.current_display == 'block_latest_works_masonry_style1' or view.current_display == 'block_latest_works_masonry_style1b' %} {% if rows %} {{ title_prefix }} {{ title }} {{ title_suffix }}
{% if header %}
{{ header }}
{% endif %}
{{ 'All'|t }}
{{ 'Portfolio categories'|get_list_term|raw }}
{{ rows }}
{% endif %} {% elseif view.current_display == 'block_latest_works_masonry_style2' %} {% if rows %}
{{ title_prefix }} {{ title }} {{ title_suffix }} {{ header }}
All
{{ 'Portfolio categories'|get_list_term|raw }}
{{ rows }}
{% endif %} {% elseif view.current_display == 'block_latest_works_grid_style4' %} {% if rows %} {{ title_prefix }} {{ title }} {{ title_suffix }} {% if header %}
{{ header }}
{% endif %}
{{ 'SHOW ALL'|t }}
{{ 'Portfolio categories'|get_list_term|raw }}
{{ rows }}
{% endif %} {% elseif view.current_display == 'block_latest_works_carousel_style1' or view.current_display == 'block_gallery_carousel_style' or view.current_display == 'block_courses_list_carousel_style' %} {% if rows %}
{{ title_prefix }} {{ title }} {{ title_suffix }} {{ header }}
{{ rows }}
{% endif %} {% elseif view.current_display == 'page_portfolio' %} {% set portfolio_style = 'style'|get_path_param %} {% if portfolio_style is empty %} {% set portfolio_style = portfolio_layout_style %} {% endif %} {% if portfolio_style == '2cols' %} {{ drupal_view('_probes_portfolio', 'embed_portfolio_2columns') }} {% elseif portfolio_style == '3cols' %} {{ drupal_view('_probes_portfolio', 'embed_portfolio_3columns') }} {% elseif portfolio_style == '4cols' or portfolio_style == 'sidebar' %} {{ drupal_view('_probes_portfolio', 'embed_portfolio_4columns') }} {% elseif portfolio_style == 'fullwidth' %} {{ drupal_view('_probes_portfolio', 'embed_portfolio_4columns_fullwidth') }} {% elseif portfolio_style == 'masonry1' %} {{ drupal_view('_probes_portfolio', 'embed_portfolio_masonry1') }} {% elseif portfolio_style == 'masonry2' %} {{ drupal_view('_probes_portfolio', 'embed_portfolio_masonry2') }} {% else %} {{ drupal_view('_probes_portfolio', 'embed_portfolio_slider') }} {% endif %} {% else %} {% if rows %} {{ title_prefix }} {{ title }} {{ title_suffix }}
{{ header }} {{ rows }}
{% endif %} {% endif %}