From dd980f59723bb8dd7c0cc4fe6c79d4651c608544c7b7bc60e716610a0540b352 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Tue, 30 Jun 2026 19:13:53 -0400 Subject: [PATCH] =?UTF-8?q?Bot=20commit:=20=D0=94=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=20=D1=84=D0=B0=D0=B9=D0=BB=20templates/profi?= =?UTF-8?q?le/invitation.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/profile/invitation.html | 221 ++++++++++++++++++++++++++++++ 1 file changed, 221 insertions(+) create mode 100644 templates/profile/invitation.html diff --git a/templates/profile/invitation.html b/templates/profile/invitation.html new file mode 100644 index 0000000..d8818e9 --- /dev/null +++ b/templates/profile/invitation.html @@ -0,0 +1,221 @@ +{% extends "base.html" %} +{% import "/components/header.html" as header %} +{% import "/components/footer.html" as footer %} +{% import "components/profile_card.html" as profile_card %} +{% import "components/profile_nav.html" as profile_nav %} + +{% block title %}Приглашения{% endblock %} + + + +{% block content %} +{{ header.section(user) }} +
+
+ {{ profile_card.profile_card(user) }} +
+ {{ profile_nav.profile_nav(user, 'invitation') }} +
+ {% for doc in data %} + +
+ +
+ +
+ {{doc.type}} +
+ +
+

{{ doc.title }}

+
+ {% if doc.get('type') == 'Выставка' %} +

{{doc.get('exhibition').title }}

+

Место проведения: {{ doc.get('exhibition').get('place') }}

+
+ С {{ ( doc.get('exhibition').datetime_start.strftime('%d.%m.%Y')) if doc.get('exhibition').datetime_start + else ''}} + По {{ ( doc.get('exhibition').date_finish.strftime('%d.%m.%Y')) if doc.get('exhibition').date_finish else + ''}} +
+ Тизер + Условия выставки + {% if doc.get('accept') == False %} + + {% endif %} + {% else %} +

"{{ doc.get('item') }}" просьба связаться с организатором для обсуждения дальнейших действий

+ {% endif %} + + {% set user = doc.get('user') %} +
+ {% if user %} + {{ user.username | e }} +
+

{{ user.username | e }}

+
+ {% endif %} +
+ +

{{ (doc._id.generation_time.strftime('%d.%m.%Y')) if doc._id else ''}}

+
+
+ + {% endfor %} +
+
+
+
+ + +{{ footer.section(user) }} +{% endblock %} + +{% block head %} +{{ header.style() }} +{{ profile_nav.style() }} + + +{{ footer.style() }} +{% endblock %} \ No newline at end of file