You are here

album-post-popup.html.twig in Open Social 10.0.x

{{ attach_library('core/drupal.dialog.ajax') }}
{{ attach_library('social_post_album/social-post-album--popup') }}

<div class="row social-post-album--popup">
  <div class="social-post-album--popup-slider">
    <div class="social-post-album--popup-slider-wrapper">
      {% for url in urls %}
        <div class="social-post-album--popup-item" data-active-post="post-index-{{ pid }}">
          <img src="{{ url }}">
        </div>
      {% endfor %}
    </div>
  </div>

  <div class="post-comment-wrapper" data-active-post="post-index-{{ pid }}">
    <div class="post-message">
      {{ post }}
    </div>
  </div>

</div>

File

modules/social_features/social_post/modules/social_post_album/templates/album-post-popup.html.twig
View source
  1. {{ attach_library('core/drupal.dialog.ajax') }}
  2. {{ attach_library('social_post_album/social-post-album--popup') }}
  3. <div class="row social-post-album--popup">
  4. <div class="social-post-album--popup-slider">
  5. <div class="social-post-album--popup-slider-wrapper">
  6. {% for url in urls %}
  7. <div class="social-post-album--popup-item" data-active-post="post-index-{{ pid }}">
  8. <img src="{{ url }}">
  9. </div>
  10. {% endfor %}
  11. </div>
  12. </div>
  13. <div class="post-comment-wrapper" data-active-post="post-index-{{ pid }}">
  14. <div class="post-message">
  15. {{ post }}
  16. </div>
  17. </div>
  18. </div>