profile--profile--table.html.twig in Open Social 8
Same filename and directory in other branches
- 8.9 themes/socialbase/templates/profile/profile--profile--table.html.twig
- 8.2 themes/socialbase/templates/profile/profile--profile--table.html.twig
- 8.3 themes/socialbase/templates/profile/profile--profile--table.html.twig
- 8.4 themes/socialbase/templates/profile/profile--profile--table.html.twig
- 8.5 themes/socialbase/templates/profile/profile--profile--table.html.twig
- 8.6 themes/socialbase/templates/profile/profile--profile--table.html.twig
- 8.7 themes/socialbase/templates/profile/profile--profile--table.html.twig
- 8.8 themes/socialbase/templates/profile/profile--profile--table.html.twig
Default theme implementation for profiles.
Available variables:
- content: Items for the content of the profile. Use 'content' to print them all, or print a subset such as 'content.title'. Use the following code to exclude the printing of a given child element:
{{ content|without('title') }}
- attributes: HTML attributes for the wrapper.
- profile: The profile object.
- url: The profile URL.
File
themes/socialbase/templates/profile/profile--profile--table.html.twigView source
- {#
- /**
- * @file
- *
- * Default theme implementation for profiles.
- *
- * Available variables:
- * - content: Items for the content of the profile.
- * Use 'content' to print them all, or print a subset such as
- * 'content.title'. Use the following code to exclude the
- * printing of a given child element:
- * @code
- * {{ content|without('title') }}
- * @endcode
- * - attributes: HTML attributes for the wrapper.
- * - profile: The profile object.
- * - url: The profile URL.
- *
- * @ingroup themeable
- */
- #}
-
-
- <div class="media media-middle">
- <div class="media-left">
- {% if content.field_profile_image %}
- <a href="{{ profile_stream_url }}" class="avatar">
- {{ content.field_profile_image }}
- </a>
- {% endif %}
- </div>
-
- <div class="media-body">
- <h6 class="list-group-item-heading no-margin">
- <a href="{{ profile_stream_url }}">
- {{ profile_name }}
- </a>
- </h6>
- </div>
-
- </div>