views-view-unformatted--activity-stream-notifications--block.html.twig in Open Social 8.3
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 also
File
themes/socialbase/templates/views/views-view-unformatted--activity-stream-notifications--block.html.twigView source
- {#
- /**
- * @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
- */
- #}
- <li>
- <div class="dropdown-header">
- {% trans %}Notification Centre{% endtrans %}
- </div>
- </li>
- <li class="divider"></li>
- <li>
- <ul class="scrollable-menu">
- {% for row in rows %}
- <li>{{ row.content }}</li>
- {% endfor %}
- </ul>
- </li>
- <li class="divider"></li>
- <li>
- <div class="dropdown-header">
- <a href="{{ notification_url }}" class="block clearfix">
- {% trans %}All notifications{% endtrans %}
- <svg class="btn-icon icon-black pull-right">
- <use xlink:href="#icon-navigate_next"></use>
- </svg>
- </a>
- </div>
- </li>