diff --git a/502.html b/502.html
index 4eb512a..98f4dbb 100644
--- a/502.html
+++ b/502.html
@@ -1,7 +1,7 @@
-
+
+
{% if active_participations %}
{{ _('Active Contests') }}
@@ -187,41 +271,52 @@
{% endif %}
{% if current_contests %}
- {{ _('Ongoing Contests') }}
-
-
-
- {{ _('Contest') }} |
- {{ _('Users') }} |
- {% if not request.in_contest %}
- |
+
+ {{ _('Ongoing Contests') }}
+
-
-
- {% for contest in current_contests %}
+
+
+
+
+
-
-
- {{ contest_head(contest) }}
- {% if contest.start_time %}
-
- {% if contest.time_before_end %}
- {{ _('Ends in %(countdown)s', countdown=contest.time_before_end|as_countdown) }}
- {% endif %}
- {{ time_left(contest) }}
- {% endif %}
-
- |
-
- {{ user_count(contest, request.user) }}
- |
- {{ contest_join(contest, request) }}
+ {{ _('Contest') }} |
+ {{ _('Users') }} |
+ {% if not request.in_contest %}
+ |
+ {% endif %}
- {% endfor %}
-
-
-
+
+
+ {% for contest in current_contests %}
+
+
+
+ {{ contest_head(contest) }}
+ {% if contest.start_time %}
+
+ {% if contest.time_before_end %}
+ {{ _('Ends in %(countdown)s', countdown=contest.time_before_end|as_countdown) }}
+ {% endif %}
+ {{ time_left(contest) }}
+ {% endif %}
+
+ |
+
+ {{ user_count(contest, request.user) }}
+ |
+ {{ contest_join(contest, request) }}
+
+ {% endfor %}
+
+
+
+
{% endif %}
{{ _('Upcoming Contests') }}
diff --git a/templates/problem/list.html b/templates/problem/list.html
index 0f70a7e..0054d24 100644
--- a/templates/problem/list.html
+++ b/templates/problem/list.html
@@ -3,13 +3,17 @@
{% block media %}
{% if not request.in_contest %}