From 1d2ee61f5ffb9da600486b3b7ae7c310d12ce32ebb55aca4a7440617a6211d8d Mon Sep 17 00:00:00 2001 From: vladislav Date: Mon, 14 Sep 2026 06:50:17 -0400 Subject: [PATCH] fix --- templates/profile/partner/exhibition catalog.html | 6 ++++-- templates/profile/partner/exhibition.html | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/profile/partner/exhibition catalog.html b/templates/profile/partner/exhibition catalog.html index 618ae83..3777d5e 100644 --- a/templates/profile/partner/exhibition catalog.html +++ b/templates/profile/partner/exhibition catalog.html @@ -6,7 +6,7 @@ {% import "competition/list.html" as competition %} {% import "components/label.html" as label %} -{% block title %}Каталог картин{% endblock %} +{% block title %}Каталог картин | Выставка {{exhibition.title}}{% endblock %} {% block content %} {{ header.section(user) }} @@ -17,7 +17,7 @@ {{ profile_nav.profile_nav(user, 'exhibitions') }}
- Отобранные картины + Отобранные картины ({{ exhibition.posts | length }})
@@ -476,6 +476,8 @@ genre = genres.map(g => { // Обновляем счётчик const lenEl = document.getElementById('lenPosts'); if (lenEl) lenEl.textContent = exhibition.posts.length; + const lenEl2 = document.getElementById('lenPosts2'); + if (lenEl2) lenEl2.textContent = exhibition.posts.length; } else { el.checked = !isAdding; diff --git a/templates/profile/partner/exhibition.html b/templates/profile/partner/exhibition.html index c16d24e..bd3a507 100644 --- a/templates/profile/partner/exhibition.html +++ b/templates/profile/partner/exhibition.html @@ -7,7 +7,7 @@ {% import "components/label.html" as label %} {% import "/components/contacts.html" as contacts %} -{% block title %}Отобранные картины | Выставка {{exhibition.title}}{% endblock %} +{% block title %}Отправить приглашения | Выставка {{exhibition.title}}{% endblock %} {% block content %}