Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
masinnae committed May 22, 2024
1 parent 6f6ecf0 commit fff3148
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions frontend/src/components/submission/SubmissionCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
<v-card variant="flat">
<v-card-title>
{{ $t("submission.status") }}
<p
v-if="new Date(submission.date) <= deadline"
:class="Status[submission.status]"
>
<p v-if="new Date(submission.date) <= deadline" :class="Status[submission.status]">
{{ Status[submission.status] }}
</p>
<p v-else class="Deadline">{{ $t("submission.after_deadline") }}</p>
Expand All @@ -25,9 +22,7 @@
{{ $t("submission.remarks_empty") }}
</v-card-subtitle>
</v-card-item>
<v-card-item
v-if="submission.stderr || submission.stdout || submission.testresults.length"
>
<v-card-item v-if="submission.stderr || submission.stdout || submission.testresults.length">
<v-card-title>{{ $t("submission.docker_test") }}</v-card-title>
<v-card-text>
<p v-if="submission.stdout">Stdout: {{ submission.stdout }}</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{ $t("project.group", { number: submission.group_id }) }}
</v-card-title>
<SubmissionCard class="ma-3" :submission="submission" :deadline="deadline" />
<v-divider class="divider"/>
<v-divider class="divider" />
<v-card-actions>
<v-btn :to="`/groups/${submission.group_id}`" class="button">
{{ $t("project.submissions_list") }}
Expand Down

0 comments on commit fff3148

Please sign in to comment.