templates/olymp-online/gallery/group.html.twig line 1
{% extends 'layout/base.html.twig' %}
{% block body_class %}
{{ parent() }}
olympiad-page
{% endblock %}
{% block title %}
{{ title(group.caption, "gallery.title"|trans) }}
{% endblock %}
{% block body %}
{% include "olympiads/iofs/presentation.html.twig" %}
<div class="olympiad iofs">
<div class="container iofs__inner">
<div class="iofs__content">
<h2>{{ ("gallery.page_caption"|trans) }}</h2>
<h3>{{ group.caption }}</h3>
<div class="olympiad-gallery-group albums">
{% for a in albums %}
<a class="gallery-group"
href="{{ path('olympiad_gallery_60_show',{group_id: group.id,id:a.id}) }}"
style="
{% if a.previewImage %}
background-image: url({{ vich_uploader_asset(a.previewImage)|imagine_filter('gallery_group') }})
{% endif %}
">
<span>{{ a.caption|u.truncate(55,'...') }}</span>
</a>
{% endfor %}
</div>
</div>
{{ include('olympiads/iofs/stages.html.twig') }}
</div>
</div>
{% endblock %}