Add download AC submissions
This commit is contained in:
parent
e8ef46ffcf
commit
859c8f62ed
3 changed files with 27 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue