Merged in fix/dates (pull request #187)

Fix/dates
This commit is contained in:
Christian Cueni 2023-08-16 14:18:13 +00:00
commit 2f8b548ea7
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ const props = defineProps<{
<template>
<div class="flex items-center justify-between py-4">
<div class="space-y-1">
<a class="text-bold underline" :href="props.dueDate.url" target="_blank">
<a class="text-bold underline" :href="props.dueDate.url">
{{ props.dueDate.title }}
</a>
<p class="text-small text-gray-900">

View File

@ -10,7 +10,7 @@
</li>
</ul>
<div v-if="allDueDates.length > props.maxCount" class="flex items-center pt-6">
<a href="">{{ $t("dueDates.showAllDueDates") }}</a>
<!--a href="">{{ $t("dueDates.showAllDueDates") }}</a-->
<it-icon-arrow-right />
</div>

View File

@ -10,7 +10,7 @@ from vbv_lernwelt.course.models import CourseSession
class DueDate(models.Model):
start = models.DateTimeField(null=True, db_index=True)
start = models.DateTimeField(null=True, db_index=True, blank=True)
end = models.DateTimeField(null=True, blank=True, db_index=True)
title = models.CharField(default="", max_length=1024)
learning_content_description = models.CharField(