{% if request.user == submission.user.user %} {{ _('An internal error occurred while grading, and the %(site_name)s administrators have been notified.', site_name=SITE_NAME) }}
{{ _('In the meantime, try resubmitting in a few seconds.') }} {% else %} {{ _('An internal error occurred while grading.') }} {% endif %}

{% if submission.error and request.user.is_authenticated %} {% if request.profile.id in submission.problem.editor_ids or perms.judge.edit_all_problem %}

{{ _('Error information') }}

{{ submission.error|highlight('pytb') }}
{% endif %} {% endif %}