You are here

views-view-unformatted--activity-stream-notifications--block.html.twig in Open Social 8.2

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.

File

themes/socialbase/templates/views/views-view-unformatted--activity-stream-notifications--block.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a view of unformatted rows.
  5. *
  6. * Available variables:
  7. * - title: The title of this group of rows. May be empty.
  8. * - rows: A list of the view's row items.
  9. * - attributes: The row's HTML attributes.
  10. * - content: The row's content.
  11. * - view: The view object.
  12. * - default_row_class: A flag indicating whether default classes should be
  13. * used on rows.
  14. *
  15. * @see template_preprocess_views_view_unformatted()
  16. *
  17. * @ingroup themeable
  18. */
  19. #}
  20. <li>
  21. <div class="dropdown-header">
  22. {% trans %}Notification Centre{% endtrans %}
  23. </div>
  24. </li>
  25. <li class="divider"></li>
  26. <li>
  27. <ul class="scrollable-menu">
  28. {% for row in rows %}
  29. <li>{{ row.content }}</li>
  30. {% endfor %}
  31. </ul>
  32. </li>
  33. <li class="divider"></li>
  34. <li>
  35. <div class="dropdown-header">
  36. <a href="{{ notification_url }}" class="block clearfix">
  37. {% trans %}All notifications{% endtrans %}
  38. <svg class="btn-icon icon-black pull-right">
  39. <use xlink:href="#icon-navigate_next"></use>
  40. </svg>
  41. </a>
  42. </div>
  43. </li>