showGroup.html.twig 724B

1234567891011121314151617181920212223242526272829
  1. {% extends "MuzichHomeBundle::layout.html.twig" %}
  2. {% block title %}{% endblock %}
  3. {% block content %}
  4. <span class="follow_link following">
  5. {% if his_group %}
  6. <a href="{{ path('group_edit', { 'slug': group.slug }) }}" >
  7. {{ 'group.edit'|trans({}, 'groups') }}
  8. </a> |
  9. {% endif %}
  10. <a href="{{ path('follow', { 'type': 'group', 'id': group.id, 'token': user.personalHash }) }}" >
  11. {% if following %}
  12. {{ 'group.notfollow'|trans({}, 'groups') }}
  13. {% else %}
  14. {{ 'group.follow'|trans({}, 'groups') }}
  15. {% endif %}
  16. </a>
  17. </span>
  18. <h2>{{ group.name }}</h2>
  19. {% include "MuzichCoreBundle:SearchElement:default.html.twig" %}
  20. {% endblock %}