From c178c696368d97a1f91329118fa06d8b7d56d75c9500cbed005ae7065264d56a Mon Sep 17 00:00:00 2001 From: vladislav Date: Thu, 3 Sep 2026 17:25:18 -0400 Subject: [PATCH] fix --- templates/exhibition/index.html | 1 + templates/exhibitions.html | 10 ++-- templates/profile/exhibition.html | 55 +++++++++++++++++++++- templates/profile/partner/exhibitions.html | 49 ------------------- 4 files changed, 59 insertions(+), 56 deletions(-) diff --git a/templates/exhibition/index.html b/templates/exhibition/index.html index 3a5d0df..fbc11c8 100644 --- a/templates/exhibition/index.html +++ b/templates/exhibition/index.html @@ -204,6 +204,7 @@ .icona{display: flex; gap: 10px; align-items: center;} +.icona>span{color: #5F1798;} .b_0jst1 { color: #0ED646; font-family: Inter; font-size: 12px; font-style: normal; font-weight: 700; line-height: normal; } .b_vabj9 { align-items: center; background: rgba(14, 214, 70, 0.20); border-radius: 30px; display: flex; justify-content: center; padding: 1.5px 10px; } .b_0jst1_2 { color: #5F1798; font-family: Inter; font-size: 12px; font-style: normal; font-weight: 700; line-height: normal; } diff --git a/templates/exhibitions.html b/templates/exhibitions.html index 1cb3f76..1d7e02b 100644 --- a/templates/exhibitions.html +++ b/templates/exhibitions.html @@ -47,15 +47,16 @@

{{ exhibition.title }}

{{ exhibition.topic }}

+ {% if link %} + + {% endif %} {% set creator = exhibition.get('user') %} {% if creator %}
- {{ creator.username | e }}

{{ creator.username | e }}

-
Показать контакты @@ -120,9 +121,7 @@ С {{ ( exhibition.datetime_start.strftime('%d.%m.%Y')) if exhibition.datetime_start else ''}} По {{ ( exhibition.date_finish.strftime('%d.%m.%Y')) if exhibition.date_finish else ''}} - {% if link %} - - {% endif %} +
{{ share.share('/exhibition/{}'.format(exhibition._id), exhibition.title, '/b/exhibition/{}'.format(exhibition.poster_file_id), "Приглашаем на выставку") }} @@ -149,6 +148,7 @@ .icona{display: flex; gap: 10px; align-items: center;} +.icona>span{color: #5F1798;} .c_aq9et { cursor: pointer; transition: transform 0.1s linear, box‑shadow 0.1s linear; diff --git a/templates/profile/exhibition.html b/templates/profile/exhibition.html index c413d6e..8cb407f 100644 --- a/templates/profile/exhibition.html +++ b/templates/profile/exhibition.html @@ -40,14 +40,65 @@

{{i.title}}

{{i.topic}}

+ + {% if i.user %}
- {% if i.user %} {{ i.user.username | e }}

{{ i.user.username }}

- {% endif %}
+
+ Показать контакты + +
+{% endif %} +

Подробнее

{{ ( i._id.generation_time.strftime('%d.%m.%Y')) if i._id else ''}}

diff --git a/templates/profile/partner/exhibitions.html b/templates/profile/partner/exhibitions.html index b61e91f..d0c5487 100644 --- a/templates/profile/partner/exhibitions.html +++ b/templates/profile/partner/exhibitions.html @@ -48,55 +48,6 @@

{{ i.user.username }}

-
- Показать контакты - -
{% endif %}

Подробнее