uikit_components-8.x-3.1/uikit_views/templates/views/uikit-view-list.html.twig

uikit_views/templates/views/uikit-view-list.html.twig
{#
/**
 * @file
 * Theme override for a view template to display a list of rows.
 *
 * Available variables:
 * - attributes: HTML attributes for the container.
 * - rows: A list of rows for this list.
 *   - content: The row's contents.
 * - title: The title of this group of rows. May be empty.
 * - list_attributes: HTML attributes for the list element.
 *
 * @see template_preprocess_uikit_view_list()
 */
#}
<div{{ attributes }}>
  {% if title %}
    <h3>{{ title }}</h3>
  {% endif %}

  <ul{{ list_attributes }}>
    {% for column in items %}
      <li>{{ column.content }}</li>
    {% endfor %}
  </ul>
</div>

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

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