From d4159eb1d2bbcaee331fc0a2e26175a25c535d458136a85c3c1b87b907e1bc40 Mon Sep 17 00:00:00 2001 From: vladislav Date: Tue, 1 Sep 2026 08:11:57 -0400 Subject: [PATCH] fix --- templates/profile/invitations.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/profile/invitations.html b/templates/profile/invitations.html index 98adb82..dfd2191 100644 --- a/templates/profile/invitations.html +++ b/templates/profile/invitations.html @@ -45,8 +45,8 @@ href="{% if doc.get('exhibition') and doc.get('exhibition').get('tizer_link') %}{{doc.get('exhibition').tizer_link}}{% else %}/b/exhibition/{{ doc.get('exhibition').tizer_file_id }}{% endif %}" style="width: 100%;">Релиз выставки {% endif %} -

Принять условия нужно до {{doc.get('exhibition').datetime_start.strftime('%d.%m.%Y')}}

- {% if doc.get('accept') == False and now < doc.get('exhibition').datetime_start %} +

Принять условия нужно до {{doc.get('exhibition').date_finish.strftime('%d.%m.%Y')}}

+ {% if doc.get('accept') == False and now < doc.get('exhibition').date_finish %} Открыть {% else %}