UI: Conference website web-assets v2 upgrade #103970

Merged
Márton Lente merged 50 commits from ui/web-assets-v2-update into main 2024-09-23 12:34:43 +02:00
Showing only changes of commit de9343a6eb - Show all commits

View File

@ -68,15 +68,15 @@ meta(name='twitter:image', content='{{request.scheme}}://{{request.META.HTTP_HOS
| {% endif %} | {% endif %}
.row .row
| {% if object.picture and not object.recording %} | {% if object.picture and not object.recording %}
.col-md-3 .col-md-3
| {% thumbnail object.picture "480x270" crop="50%" format="JPEG" as picture %} | {% thumbnail object.picture "480x270" crop="50%" format="JPEG" as picture %}
a(href="{{ picture.url }}") a(href="{{ picture.url }}")
img.rounded.img-fluid(src='{{ picture.url }}', alt="{{ object.name }}") img.rounded.img-fluid(src='{{ picture.url }}', alt="{{ object.name }}")
| {% endthumbnail %} | {% endthumbnail %}
| {% endif %} | {% endif %}
div(class="col-md-{% if object.picture and not object.recording %}9{% else %}12{% endif %}") div(class="col-md-{% if object.picture and not object.recording %}9{% else %}12{% endif %}")
h3.mb-3 {{ object.name }} h3.mb-3 {{ object.name }}