Commit 71d2a618 authored by Mathieu Spillebeen's avatar Mathieu Spillebeen
Browse files

Initial commit

parents
{#
/**
* @file
* Default theme implementation 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()
*
* @ingroup themeable
*/
#}
{% if title %}
<h3>{{ title }}</h3>
{% endif %}
{% block rows %}
{% for row in rows %}
{%
set row_classes = [
default_row_class ? 'views-row',
]
%}
{% if default_row_class %}
<div{{ row.attributes.addClass(row_classes) }}>
{{ row.content }}
</div>
{% else %}
{{ row.content }}
{% endif %}
{% endfor %}
{% endblock %}
{% block after %}{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment