diff --git a/frontend/src/assets/lang/en.json b/frontend/src/assets/lang/en.json index 26c9ff1d..a19ca67d 100644 --- a/frontend/src/assets/lang/en.json +++ b/frontend/src/assets/lang/en.json @@ -138,7 +138,8 @@ "singleGroup": "Group", "multipleGroups": "Groups", "testsSucceed": "Succeeded tests", - "testsFail": "Failed tests" + "testsFail": "Failed tests", + "submit": "Submit" }, "submission": "Submit" }, diff --git a/frontend/src/assets/lang/nl.json b/frontend/src/assets/lang/nl.json index 7e9ac4d3..7b3727dd 100644 --- a/frontend/src/assets/lang/nl.json +++ b/frontend/src/assets/lang/nl.json @@ -139,7 +139,8 @@ "singleGroup": "Groep", "multipleGroups": "Groepen", "testsSucceed": "Geslaagde testen", - "testsFail": "Gefaalde testen" + "testsFail": "Gefaalde testen", + "submit": "Indienen" }, "submission" : "Indienen" }, diff --git a/frontend/src/components/projects/ProjectCard.vue b/frontend/src/components/projects/ProjectCard.vue index c0e0a00f..7e085a86 100644 --- a/frontend/src/components/projects/ProjectCard.vue +++ b/frontend/src/components/projects/ProjectCard.vue @@ -3,7 +3,6 @@ import moment from 'moment'; import MeterGroup from 'primevue/metergroup'; import Card from 'primevue/card'; import Button from 'primevue/button'; -import ProgressBar from 'primevue/progressbar'; import { type Project } from '@/types/Project.ts'; import { PrimeIcons } from 'primevue/api'; import { useI18n } from 'vue-i18n'; @@ -160,34 +159,44 @@ watch( {{ t('components.card.noSubmissions') }}

- - {{ - t( - 'views.projects.days', - { hour: moment(project.deadline).format('H:m') }, - moment(project.deadline).diff(moment(), 'day'), - ) - }} -