diff --git a/judge/views/contests.py b/judge/views/contests.py index c9cee68cb8..7cb229d55a 100644 --- a/judge/views/contests.py +++ b/judge/views/contests.py @@ -104,6 +104,7 @@ def get_context_data(self, **kwargs): context['future_contests'] = future context['now'] = self._now context['first_page_href'] = '.' + context['page_suffix'] = '#past-contests' return context diff --git a/templates/contest/list.html b/templates/contest/list.html index 7d178642cc..de1de91b65 100644 --- a/templates/contest/list.html +++ b/templates/contest/list.html @@ -238,7 +238,7 @@

{{ _('Upcoming Contests') }}

{% endif %} {% if past_contests %} -

{{ _('Past Contests') }}

+

{{ _('Past Contests') }}

{% if page_obj and page_obj.has_other_pages() %}
{% include "list-pages.html" %}