diff --git a/backend/api/management/commands/make_teacher.py b/backend/api/management/commands/make_teacher.py index a44d7e58..90502d63 100644 --- a/backend/api/management/commands/make_teacher.py +++ b/backend/api/management/commands/make_teacher.py @@ -19,6 +19,6 @@ def handle(self, *args, **options): return user = user.get() - Teacher(user_ptr=user).save_base(raw=True) + Teacher.create(user) self.stdout.write(self.style.SUCCESS('Successfully made the user teacher!')) diff --git a/frontend/src/assets/img/logo-tiny.png b/frontend/src/assets/img/logo-tiny.png new file mode 100644 index 00000000..a2bd9887 Binary files /dev/null and b/frontend/src/assets/img/logo-tiny.png differ diff --git a/frontend/src/assets/lang/nl.json b/frontend/src/assets/lang/nl.json index 2556ed9e..d2b514a1 100644 --- a/frontend/src/assets/lang/nl.json +++ b/frontend/src/assets/lang/nl.json @@ -101,11 +101,13 @@ } }, "components": { - "buttons": { - "academic_year": "Academiejaar {0}" + "button": { + "academic_year": "Academiejaar {0}", + "createProject": "Maak een nieuw project" }, "card": { - "open": "Details" + "open": "Details", + "newProject": "Nieuw Project" }, "submission" : "Indienen" }, @@ -147,7 +149,7 @@ "am": "voormiddag", "apply": "Toepassen", "cancel": "Annuleer", - "choose": "Kies", + "choose": "Kies een bestand", "chooseDate": "Kies datum", "chooseMonth": "Kies maand", "chooseYear": "Kies jaar", diff --git a/frontend/src/components/courses/CourseDetailCard.vue b/frontend/src/components/courses/CourseDetailCard.vue index fae89e68..24377d9a 100644 --- a/frontend/src/components/courses/CourseDetailCard.vue +++ b/frontend/src/components/courses/CourseDetailCard.vue @@ -36,9 +36,16 @@ const { getRandomImport } = useGlob(import.meta.glob('@/assets/img/placeholders/ {{ course.getExcerpt() }} diff --git a/frontend/src/components/courses/CourseList.vue b/frontend/src/components/courses/CourseList.vue index 5cc39c62..b233528d 100644 --- a/frontend/src/components/courses/CourseList.vue +++ b/frontend/src/components/courses/CourseList.vue @@ -4,6 +4,8 @@ import CourseDetailCard from '@/components/courses/CourseDetailCard.vue'; import CourseGeneralCard from '@/components/courses/CourseGeneralCard.vue'; import { type Course } from '@/types/Course.ts'; import { useI18n } from 'vue-i18n'; +import { PrimeIcons } from 'primevue/api'; +import Button from 'primevue/button'; /* Props */ interface Props { @@ -25,13 +27,21 @@ const { t } = useI18n();