api-8.x-1.x-dev/templates/views-view-dl-list.html.twig

templates/views-view-dl-list.html.twig
{#
/**
 * @file
 * Default theme implementation to display a DL list.
 *
 * Available variables:
 * - title: The title of this group of rows. May be empty.
 * - rows: A list of the view's row items containing DT/DD tags.
 *   - 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_dl_list()
 *
 * @ingroup themeable
 */
#}
{% if attributes -%}
<div{{ attributes }}>
{% endif %}
  {% if title %}
    <h3>{{ title }}</h3>
  {% endif %}

  <{{ list.type }}{{ list.attributes }}>

    {% for row in rows %}
      {{- row.content -}}
    {% endfor %}

  </{{ list.type }}>

{% if attributes -%}
</div>
{% endif %}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc