social-album-post.html.twig in Open Social 10.0.x
{{ attach_library('social_album/image') }}
<div class="row social-post-album--popup">
<div class="social-post-album--popup-slider">
<div class="social-post-album--popup-slider-wrapper">
{% for index, item in items %}
{% for url in item.urls %}
<div class="social-post-album--popup-item" data-med="{{ url }}" data-active-post="post-index-{{ index }}">
<img src="{{ url }}">
</div>
{% endfor %}
{% endfor %}
</div>
</div>
{% for index, item in items %}
<div class="post-comment-wrapper" data-active-post="post-index-{{ index }}">
<div class="post-header">
{% trans %}Images posted in album {{ album|placeholder }}{% endtrans %}
</div>
<div class="post-message">
{{ item.post }}
</div>
</div>
{% endfor %}
</div>
File
modules/social_features/social_album/templates/social-album-post.html.twig
View source
- {{ attach_library('social_album/image') }}
-
- <div class="row social-post-album--popup">
- <div class="social-post-album--popup-slider">
- <div class="social-post-album--popup-slider-wrapper">
- {% for index, item in items %}
- {% for url in item.urls %}
- <div class="social-post-album--popup-item" data-med="{{ url }}" data-active-post="post-index-{{ index }}">
- <img src="{{ url }}">
- </div>
- {% endfor %}
- {% endfor %}
- </div>
- </div>
-
- {% for index, item in items %}
- <div class="post-comment-wrapper" data-active-post="post-index-{{ index }}">
- <div class="post-header">
- {% trans %}Images posted in album {{ album|placeholder }}{% endtrans %}
- </div>
- <div class="post-message">
- {{ item.post }}
- </div>
- </div>
- {% endfor %}
-
- </div>