activity.html.twig in Open Social 8.2
Same filename in this branch
Same filename and directory in other branches
- 8.9 themes/socialbase/templates/activity/activity.html.twig
- 8 themes/socialbase/templates/activity/activity.html.twig
- 8.3 themes/socialbase/templates/activity/activity.html.twig
- 8.4 themes/socialbase/templates/activity/activity.html.twig
- 8.5 themes/socialbase/templates/activity/activity.html.twig
- 8.6 themes/socialbase/templates/activity/activity.html.twig
- 8.7 themes/socialbase/templates/activity/activity.html.twig
- 8.8 themes/socialbase/templates/activity/activity.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.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
- */
- #}
-
- <li {{ attributes.addClass('stream-item') }}>
-
- <i class="stream-icon"></i>
-
- <div class="card card--stream">
-
- <div class="card__block">
-
- <div class="media-wrapper">
-
- <div class="media">
-
- <div class="media-left avatar">
- {% if actor %}
- {{- actor -}}
- {% endif %}
- </div>
-
- <div class="media-body">
- <div class="media-heading text-m">
- {% if content.field_activity_output_text %}
- {{- content.field_activity_output_text -}}
- {% endif %}
-
- <div class="post-date">{{ date }}</div>
- </div>
-
- </div>
-
- </div>
-
- {% if content.field_activity_entity %}
- {{ content.field_activity_entity }}
- {% endif %}
-
- </div>
-
- </div>
-
- </div>
-
-
- </li>