Reformat html files
This commit is contained in:
parent
9a208ca108
commit
52f1e77fe1
205 changed files with 11096 additions and 11086 deletions
|
@ -1,18 +1,18 @@
|
|||
<h3 style="font-weight:bold" class="red">
|
||||
{% if request.user == submission.user.user %}
|
||||
{% trans trimmed %}
|
||||
An internal error occurred while grading, and the {{ SITE_NAME }} administrators have been notified.<br>
|
||||
In the meantime, try resubmitting in a few seconds.
|
||||
{% endtrans %}
|
||||
{% else %}
|
||||
{{ _('An internal error occurred while grading.') }}
|
||||
{% endif %}
|
||||
{% if request.user == submission.user.user %}
|
||||
{% trans trimmed %}
|
||||
An internal error occurred while grading, and the {{ SITE_NAME }} administrators have been notified.<br>
|
||||
In the meantime, try resubmitting in a few seconds.
|
||||
{% endtrans %}
|
||||
{% else %}
|
||||
{{ _('An internal error occurred while grading.') }}
|
||||
{% endif %}
|
||||
</h3>
|
||||
|
||||
{% if submission.error and request.user.is_authenticated %}
|
||||
{% if request.profile.id in submission.problem.editor_ids or perms.judge.edit_all_problem %}
|
||||
<hr style="float:left;width:30%"><br>
|
||||
<h4>{{ _('Error information') }}</h4>
|
||||
<code>{{ submission.error|highlight('pytb', linenos=False) }}</code>
|
||||
{% endif %}
|
||||
{% if request.profile.id in submission.problem.editor_ids or perms.judge.edit_all_problem %}
|
||||
<hr style="float:left;width:30%"><br>
|
||||
<h4>{{ _('Error information') }}</h4>
|
||||
<code>{{ submission.error|highlight('pytb', linenos=False) }}</code>
|
||||
{% endif %}
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue