+
{{ _('Time') }}
{% if contest.start_time %}
+ {{ time_left(contest) }}
{% if contest.time_before_start %}
{{ _('Starting in %(countdown)s.', countdown=contest.start_time|as_countdown) }}
{% endif %}
- {{ time_left(contest) }}
{% endif %}
-
+
{{ _('Format') }}
{{ contest.format.name }}
@@ -355,62 +352,61 @@
{% else %}
{{ _('There is no scheduled contest at this time.') }}
-
-
- {% endif %}
-
-
-
- {% if past_contests %}
- {% if page_obj and page_obj.num_pages > 1 %}
-
- {% include "list-pages.html" %}
-
- {% endif %}
-
- {% for contest in past_contests %}
-
-
-
{{ _('Contests') }}
- {{ contest_head(contest) }}
-
-
-
{{ _('Time') }}
-
- {{ time_left(contest, false) }}
-
-
-
-
{{ _('Format') }}
- {{ contest.format.name }}
-
-
-
{{ _('Users') }}
- {{ user_count(contest, request.user) }}
-
- {% if not request.in_contest %}
-
-
-
- {% endif %}
-
- {% endfor %}
- {% if page_obj and page_obj.num_pages > 1 %}
-
- {% include "list-pages.html" %}
-
- {% endif %}
- {% else %}
-
- {{ _('There is no past contest.') }}
-
+
{% endif %}
+
+
+ {% if past_contests %}
+ {% if page_obj and page_obj.num_pages > 1 %}
+
+ {% include "list-pages.html" %}
+
+ {% endif %}
+
+ {% for contest in past_contests %}
+
+
+
{{ _('Contests') }}
+ {{ contest_head(contest) }}
+
+
+
{{ _('Time') }}
+
+ {{ time_left(contest) }}
+
+
+
+
{{ _('Format') }}
+ {{ contest.format.name }}
+
+
+
{{ _('Users') }}
+ {{ user_count(contest, request.user) }}
+
+ {% if not request.in_contest %}
+
+
+
+ {% endif %}
+
+ {% endfor %}
+ {% if page_obj and page_obj.num_pages > 1 %}
+
+ {% include "list-pages.html" %}
+
+ {% endif %}
+ {% else %}
+
+ {{ _('There is no past contest.') }}
+
+
+ {% endif %}
{% endblock %}
diff --git a/templates/organization/tag.html b/templates/organization/tag.html
new file mode 100644
index 0000000..401b97c
--- /dev/null
+++ b/templates/organization/tag.html
@@ -0,0 +1,8 @@
+
+
+ {% if org.logo_override_image %}
+
+ {% endif %}
+ {{ org.name }}
+
+
\ No newline at end of file
diff --git a/templates/problem/problem.html b/templates/problem/problem.html
index a23e503..6585f14 100644
--- a/templates/problem/problem.html
+++ b/templates/problem/problem.html
@@ -118,11 +118,7 @@
{% if problem.is_organization_private %}
{% for org in problem.organizations.all() %}
-
-
- {{ org.name }}
-
-
+ {% include "organization/tag.html" %}
{% endfor %}
{% endif %}