You are here

profile-items.html.twig in Profile 2 8

Default theme implementation for a user profile entity.

@todo Document the available variables.

File

templates/profile-items.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a user profile entity.
  5. *
  6. * @todo Document the available variables.
  7. */
  8. #}
  9. {% if items %}
  10. <h3 class="profile-title">{{ title }}</h3>
  11. {% for i, item in items %}
  12. <div class="profile-item">
  13. <span class="profile-item-action-links">
  14. {% if edit_links[i] is defined %}[ {{ edit_links[i] }} ] &nbsp;{% endif %}{% if delete_links[i] is defined %} [ {{ delete_links[i] }} ]{% endif %}
  15. </span>
  16. {{ item }}
  17. </div>
  18. {% endfor %}
  19. {% endif %}