This commit is contained in:
vladislav 2026-09-03 04:51:46 -04:00
parent 864f35819a
commit 03eee92316
Signed by: Vladislav
GPG Key ID: D97C9E5E4860EE45
2 changed files with 9 additions and 0 deletions

View File

@ -158,6 +158,10 @@
<header class="c_m876y b_9xtz9">
<h3 class="c_hysjg b_8f3uh">{{ doc.title }}</h3>
</header>
{% if doc.get('type') == 'Выставка' %}
<img src="/b/exhibition/{{doc.get('exhibition').get('poster_orig_id')}}"
style="max-width: 100%;">
{%endif%}
<p class="c_2fr39 b_tfnz2">{{doc.get('exhibition').title }}</p>
<p>Место проведения: {{ doc.get('exhibition').get('place') }}</p>
<div class="b_otttb">
@ -714,6 +718,8 @@ document.getElementById('delivery_type')?.addEventListener('change', toggleTrack
</div>
{% endif %}
</div>
<details style="margin-bottom: 1.25rem;">
<summary>Показать контакты</summary>
<div class="menua">
<a class="icona" href="tel:{{user.phone.split(',')[-1].strip()}}"><svg xmlns="http://www.w3.org/2000/svg"
height="24px" viewBox="0 -960 960 960" width="24px" fill="#5F1798">
@ -750,6 +756,7 @@ document.getElementById('delivery_type')?.addEventListener('change', toggleTrack
</a>
</div>
</div>
</details>
{% endmacro %}
{% macro render_links(doc) %}
{% if doc.get('exhibition')%}

View File

@ -29,6 +29,8 @@
<a class="btn ba" href="/profile/invitation/{{doc._id}}#main" style="width: 100%;">Открыть</a>
{% endif %}
{% if doc.get('type') == 'Выставка' %}
<img src="/b/exhibition/{{doc.get('exhibition').get('poster_orig_id')}}"
style="max-width: 100%;">
<p class="c_2fr39 b_tfnz2">{{doc.get('exhibition').title }}</p>
<p>Место проведения: {{ doc.get('exhibition').get('place') }}</p>
<div class="b_otttb">