Add download AC submissions

This commit is contained in:
cuom1999 2020-07-26 00:11:03 -05:00
parent e8ef46ffcf
commit 859c8f62ed
3 changed files with 27 additions and 1 deletions

View file

@ -126,6 +126,12 @@
{% endif %}
<div><a href="{{ url('chronological_submissions', problem.code) }}">{{ _('All submissions') }}</a></div>
<div><a href="{{ url('ranked_submissions', problem.code) }}">{{ _('Best submissions') }}</a></div>
{% if request.user.is_superuser %}
<div>
<a href="{{ url('download_submissions', problem.code) }}"> {{ _('Download AC submissions') }} </a>
</div>
{% endif %}
{% if editorial and editorial.is_public and
not (request.user.is_authenticated and request.profile.current_contest) %}
<hr>