From 515680f87678d12e505f8a32d6f4bd1699b0311ecdd0888e4af730e9c2303a7c Mon Sep 17 00:00:00 2001 From: vladislav Date: Thu, 13 Aug 2026 13:41:33 -0400 Subject: [PATCH] fix --- templates/profile/partner/exhibition.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/profile/partner/exhibition.html b/templates/profile/partner/exhibition.html index 7030ec7..abb7ccf 100644 --- a/templates/profile/partner/exhibition.html +++ b/templates/profile/partner/exhibition.html @@ -17,16 +17,17 @@
{{ profile_nav.profile_nav(user, 'exhibitions') }}
+ {% if now < exhibition.date_finish %} Каталог картин + {% endif %} {% set ids = posts | selectattr('status', 'equalto', 'В каталоге') | map(attribute='user._id') | list %} {% set uniq_count = ids | unique | list | length %} - {% if uniq_count > 0 %}