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