This commit is contained in:
vladislav 2026-09-14 06:50:17 -04:00
parent fe497b5132
commit 1d2ee61f5f
2 changed files with 5 additions and 3 deletions

View File

@ -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') }}
<div class="c_3ihvi" id="main">
<a class="c_ctfod b_289i1 ba" href="/profile/partner/exhibition/{{exhibition._id}}#main">
<span class="c_d2l0b b_al8e7">Отобранные картины</span>
<span class="c_d2l0b b_al8e7">Отобранные картины (<span id="lenPosts2">{{ exhibition.posts | length }}</span>)</span>
</a>
</div>
<div class="c_tihtk">
@ -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;

View File

@ -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 %}