diff --git a/templates/profile/partner/competition_member.html b/templates/profile/partner/competition_member.html new file mode 100644 index 0000000..f46199c --- /dev/null +++ b/templates/profile/partner/competition_member.html @@ -0,0 +1,433 @@ +{% extends "base.html" %} +{% import "/components/header.html" as header %} +{% import "/components/footer.html" as footer %} +{% import "competition/card.html" as card %} +{% import "components/profile_card.html" as profile_card %} +{% import "components/profile_nav.html" as profile_nav %} + +{% block title %}Просмотр картин художника "{{member.username}}" в заявке на конкурс "{{competition.title}}"{% endblock %} + + + +{% block content %} +{{ header.section(user) }} +
+
+ {{ profile_card.profile_card(user) }} +
+ {{ profile_nav.profile_nav(user, 'competitions') }} + +
+
+ +
+

+ + Вернуться

+
+
+ + Открыть страницу конкурса + +
+ Остановить прием заявок на конкурс +
+ +
+
+ +
+

{{member.living_place or ''}}

+

{{member.username or ''}}

+

{% if 'user' in member.roles %}{{member.grade or ''}}{% endif %}

+
+
+
+

Картины {{posts|length}}

+ + + +{% if competition.type_ == 'artist' %} + {% if member.status%} +
+ Проходит +
+ {%else%} +
+ На рассмотрении +
+ {%endif%} +{% endif %} +
+
+
+ +{% if not member.status %} + + + + +{%endif%} +
+
+ + {% for post in posts %} +
+
+ + {{ post.title }} + +
+
+
+
+
+

{{post.user.living_place or ''}}

+

{{post.user.username}}

+

{{post.grade or ''}}

+
+
+
+

{{post.title}}

+
+
+

{{post.size}}

+

{{post.description}}

+
+

Подробнее

+
+

{{ (post.competition.generation_time.strftime('%d.%m.%Y')) if + post.competition + else ''}}

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