From ee11fdd4eb394a2c4e21936117f5169fa94e1759 Mon Sep 17 00:00:00 2001
From: Michael Vasseur <14887731+vmcj@users.noreply.github.com>
Date: Wed, 16 Aug 2023 22:15:37 +0200
Subject: [PATCH] Cleanup
---
.../jury/partials/submission_list.html.twig | 198 ------------------
1 file changed, 198 deletions(-)
diff --git a/webapp/templates/jury/partials/submission_list.html.twig b/webapp/templates/jury/partials/submission_list.html.twig
index 03e2729cba..ac06ad662b 100644
--- a/webapp/templates/jury/partials/submission_list.html.twig
+++ b/webapp/templates/jury/partials/submission_list.html.twig
@@ -280,204 +280,6 @@
{% endif %}
{%- endfor %}
-
-
- {%- for submission in submissions %}
- {%- if rejudging is defined %}
- {%- set link = path('jury_submission', {submitId: submission.submitid, rejudgingid: rejudging.rejudgingid}) %}
- {%- else %}
- {%- set link = path('jury_submission', {submitId: submission.submitid}) %}
- {%- endif %}
-
-
- {% if showExternalResult and showExternalTestcases %}
-
- {% endif %}
-
- {%- if showContest %}
-
- {%- endif %}
-
-
-
-
-
-
- {% if showExternalResult and showExternalTestcases %}
-
- {% endif %}
-
- {% if showExternalResult and not showExternalTestcases %}
- {% if submission.externalJudgements.empty %}
- {% set externalJudgement = null %}
- {% else %}
- {% set externalJudgement = submission.externalJudgements.first %}
- {% endif %}
-
- {% endif %}
- {% if not showExternalResult or not showExternalTestcases %}
- {%- set claim = false %}
- {%- if submission.judgings.first is empty or submission.judgings.first.result is empty -%}
- {%- set verified = '' %}
- {%- set juryMember = '' %}
- {%- else %}
- {%- set juryMember = submission.judgings.first.juryMember %}
- {%- if submission.judgings.first.verified %}
- {%- set verified = 'yes' %}
- {%- else %}
- {%- set verified = 'no' %}
- {%- if submission.judgings.first.juryMember is empty %}
- {%- set claim = true %}
- {%- else %}
- {%- set verified = 'claimed' %}
- {%- endif %}
- {%- endif %}
- {%- endif %}
- {%- if claim %}
- {%- set claimArg = {claim: 1} %}
- {%- else %}
- {%- set claimArg = {unclaim: 1} %}
- {%- endif %}
-
- {% if not showExternalResult or not showExternalTestcases %}
-
- {% endif %}
- {% endif %}
- {%- if rejudging is defined %}
-
-
- {%- endif %}
- {%- if showTestcases is defined and showTestcases %}
-
-
- {%- endif %}
-
-
- {% if showExternalResult and showExternalTestcases %}
-
- {% if submission.externalJudgements.empty %}
- {% set externalJudgement = null %}
- {% else %}
- {% set externalJudgement = submission.externalJudgements.first %}
- {% endif %}
- {% if external_ccs_submission_url is not empty %}
- {% set externalSubmissionUrl = submission | externalCcsUrl %}
- {% else %}
- {% set externalSubmissionUrl = null %}
- {% endif %}
-
-
- External
-
- |
-
-
- {{ submission.externalid }}
-
- |
-
-
- External
-
- |
-
-
- {% if externalJudgement is null or externalJudgement.result is empty %}
- {{- 'pending' | printValidJuryResult -}}
- {% else %}
- {{- externalJudgement.result | printValidJuryResult -}}
- {% endif %}
-
- |
-
- {{- submission | testcaseResults(true) -}}
- |
-
-
-
- {% if externalJudgement is not null and (not submission.judgings.first or submission.judgings.first.result != externalJudgement.result) %}
- {% include 'jury/partials/verify_form.html.twig' with {
- label: 'Shadow difference verified',
- judging: externalJudgement,
- form_action: path('jury_shadow_difference_verify', {extjudgementid: externalJudgement.extjudgementid}),
- show_form: true,
- show_icat: false} %}
- {% endif %}
- |
-
- {% endif %}
- {%- endfor %}
-
{% endif %}