-
-
-
-
-
+
+
+
+
- {% endfor %}
- {% for i in exhibitions %}
-
-
-
- {% endfor %}
+
Конкурсы
+ {% for competition in competitions %} +
+
+
+
+
+
-
+
-
-
- Конкурс
+ Конкурс
{% if competition.get('status',-1) == 2 %}
- Закончился
+ Закончился
{% elif competition.get('status',-1) == 1 %}
- Идет отбор
+ Идет отбор
{% else %}
- {{ {-1:'Формируется',0:'Прием заявок',1:'Идет отбор',2:'Закончился'}[competition.get('status',-1)] }}
+ {{ {-1:'Формируется',0:'Прием заявок',1:'Идет
+ отбор',2:'Закончился'}[competition.get('status',-1)] }}
{% endif %}
{{ competition.title }}
+{{ competition.title }}
{{ competition.topic }}
{% if profile %} {% else %} {% set user = competition.get('user') %}
- {% if user %}
-
-
+
-
- {% endif %}
+ {% if user %}
+ {{ user.username | e }}
-
+
+ {% endif %}
{{ user.username | e }}
+Подробнее
{% endif %} - -{{ (competition.datetime_start.strftime('%d.%m.%Y')) if competition.datetime_start else ''}}
+ +{{ (competition.datetime_start.strftime('%d.%m.%Y')) if competition.datetime_start else + ''}}
-
-
-
-
-
-
-
-
-
-
-
- Выставка
-
-
- {% if now > i.date_finish %}
- Закончилась
- {% elif now > i.datetime_start %}
- Началась
- {% else %}
- Формируется
- {% endif %}
-
- {{i.title}}
-{{i.topic}}
-
- {% if user %}
-
-
-
-
- {% endif %}
- {{ i.user.username }}
-Подробнее
- -{{ ( i._id.generation_time.strftime('%d.%m.%Y')) if i._id else ''}}
-