activity--notification.html.twig in Open Social 8.9
Same filename and directory in other branches
- 8 themes/socialbase/templates/activity/activity--notification.html.twig
- 8.2 themes/socialbase/templates/activity/activity--notification.html.twig
- 8.3 themes/socialbase/templates/activity/activity--notification.html.twig
- 8.4 themes/socialbase/templates/activity/activity--notification.html.twig
- 8.5 themes/socialbase/templates/activity/activity--notification.html.twig
- 8.6 themes/socialbase/templates/activity/activity--notification.html.twig
- 8.7 themes/socialbase/templates/activity/activity--notification.html.twig
- 8.8 themes/socialbase/templates/activity/activity--notification.html.twig
activity.html.twig Default theme implementation to present Activity data.
This template is used when viewing Activity pages.
Available variables:
- content: A list of content items. Use 'content' to print all content, or
- attributes: HTML attributes for the container element.
See also
File
themes/socialbase/templates/activity/activity--notification.html.twigView source
- {#
- /**
- * @file activity.html.twig
- * Default theme implementation to present Activity data.
- *
- * This template is used when viewing Activity pages.
- *
- *
- * Available variables:
- * - content: A list of content items. Use 'content' to print all content, or
- * - attributes: HTML attributes for the container element.
- *
- * @see template_preprocess_activity()
- *
- * @ingroup themeable
- */
- #}
-
- <a href="{{ full_url }}" class="{{ status_class }}">
- <div{{ attributes.addClass('media') }}>
- <div class="media-left">
- {% if actor %}
- {{- actor -}}
- {% endif %}
- </div>
- <div class="media-body">
- {% if content %}
- {{- content -}}
- {% endif %}
- <div class="text-gray-light">{{ date }}</div>
- </div>
- </div>
- </a>