You are here

comments-join-group.html.twig in Open Social 8.9

{{ attach_library('group_core_comments/group_core_comments')}}

<div class="forbidden-post-comments-wrapper card">
  <div class="description">
    <div class="description__wrapper">
      <p>{{ description }}</p>
    </div>

    <div class="group-action">
      <a href="#" class="btn btn-default btn-action__group" aria-label="{{ 'View group'|t }}">
        <svg>
          <use xlink:href="#icon-group"></use>
        </svg>
        {{ 'View group'|t }}
      </a>

      <div class="popup-info">
        <div class="card">
          <div class="popup-info__image">
            {{ group_info.image }}
          </div>

          <div class="popup-info__body">
            <div class="popup-info__content">

              <div class="popup-info__title"><h4>{{ group_info.label }}</h4></div>

              <div class="popup-info__content-line">
                <svg class="popup-info__content-type-icon">
                  <use xlink:href="#icon-label"></use>
                </svg>
                {{ group_info.type }}
              </div>

              <div class="popup-info__content-line">
                <svg class="popup-info__content-type-icon">
                  <use xlink:href="#icon-group"></use>
                </svg>
                {{ group_info.members_count }}
              </div>

              <div class="actions">
                <a href="{{ action.url }}" title="{{ group_info.label }}" class="{{ action.class }}">{{ action.label }}</a>
                <a href="{{ group_info.url }}" title="{{ group_info.label }}" class="btn btn-default">
                  {% trans %}Read more{% endtrans %}
                </a>
              </div>

            </div>

          </div>

        </div>

      </div>

    </div>

  </div>

</div>

File

modules/custom/group_core_comments/templates/comments-join-group.html.twig
View source
  1. {{ attach_library('group_core_comments/group_core_comments')}}
  2. <div class="forbidden-post-comments-wrapper card">
  3. <div class="description">
  4. <div class="description__wrapper">
  5. <p>{{ description }}</p>
  6. </div>
  7. <div class="group-action">
  8. <a href="#" class="btn btn-default btn-action__group" aria-label="{{ 'View group'|t }}">
  9. <svg>
  10. <use xlink:href="#icon-group"></use>
  11. </svg>
  12. {{ 'View group'|t }}
  13. </a>
  14. <div class="popup-info">
  15. <div class="card">
  16. <div class="popup-info__image">
  17. {{ group_info.image }}
  18. </div>
  19. <div class="popup-info__body">
  20. <div class="popup-info__content">
  21. <div class="popup-info__title"><h4>{{ group_info.label }}</h4></div>
  22. <div class="popup-info__content-line">
  23. <svg class="popup-info__content-type-icon">
  24. <use xlink:href="#icon-label"></use>
  25. </svg>
  26. {{ group_info.type }}
  27. </div>
  28. <div class="popup-info__content-line">
  29. <svg class="popup-info__content-type-icon">
  30. <use xlink:href="#icon-group"></use>
  31. </svg>
  32. {{ group_info.members_count }}
  33. </div>
  34. <div class="actions">
  35. <a href="{{ action.url }}" title="{{ group_info.label }}" class="{{ action.class }}">{{ action.label }}</a>
  36. <a href="{{ group_info.url }}" title="{{ group_info.label }}" class="btn btn-default">
  37. {% trans %}Read more{% endtrans %}
  38. </a>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. </div>