some bugfixes
All checks were successful
Build & Push Docker Image / docker (push) Successful in 1m51s
All checks were successful
Build & Push Docker Image / docker (push) Successful in 1m51s
This commit is contained in:
parent
60cc9db469
commit
fd6ca8221f
@ -20,27 +20,27 @@ const Course = (props: StudentCourseProps) => {
|
||||
const tabs = [
|
||||
{
|
||||
value: 'modules',
|
||||
label: 'Modules',
|
||||
label: 'Module',
|
||||
},
|
||||
{
|
||||
value: 'live_classes',
|
||||
label: 'Live Classes',
|
||||
label: 'Live-Sitzungen',
|
||||
},
|
||||
{
|
||||
value: 'assignments',
|
||||
label: 'Assignments',
|
||||
label: 'Aufgaben',
|
||||
},
|
||||
{
|
||||
value: 'quizzes',
|
||||
label: 'Quizzes',
|
||||
label: 'Tests',
|
||||
},
|
||||
{
|
||||
value: 'resources',
|
||||
label: 'Resources',
|
||||
label: 'Ressourcen',
|
||||
},
|
||||
{
|
||||
value: 'certificate',
|
||||
label: 'Certificate',
|
||||
label: 'Zertifikat',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@ -41,7 +41,7 @@ const Assignments = () => {
|
||||
))
|
||||
) : (
|
||||
<TableRow>
|
||||
<TableCell className="h-24 text-center">No assignments found.</TableCell>
|
||||
<TableCell className="h-24 text-center">Keine Aufgaben gefunden.</TableCell>
|
||||
</TableRow>
|
||||
)}
|
||||
</TableBody>
|
||||
@ -49,7 +49,7 @@ const Assignments = () => {
|
||||
</div>
|
||||
) : (
|
||||
<div className="py-12 text-center">
|
||||
<p className="text-muted-foreground text-lg">No assignments available for this course yet.</p>
|
||||
<p className="text-muted-foreground text-lg">Für diesen Kurs sind noch keine Aufgaben verfügbar.</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@ -19,9 +19,9 @@ const Certificate = () => {
|
||||
return (
|
||||
<Alert>
|
||||
<Lock className="h-4 w-4" />
|
||||
<AlertTitle>Certificate & Marksheet Locked</AlertTitle>
|
||||
<AlertTitle>Zertifikat & Notenblatt gesperrt</AlertTitle>
|
||||
<AlertDescription>
|
||||
Complete all course modules to unlock your certificate and marksheet. Your current progress: {completion?.completion || 0}%
|
||||
Schließe alle Kursmodule ab, um dein Zertifikat und Notenblatt freizuschalten. Dein aktueller Fortschritt: {completion?.completion || 0}%
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
);
|
||||
@ -38,8 +38,8 @@ const Certificate = () => {
|
||||
<Card>
|
||||
<CardContent className="flex flex-col items-center justify-center p-12 text-center">
|
||||
<Award className="text-muted-foreground mb-4 h-16 w-16" />
|
||||
<h3 className="mb-2 text-xl font-semibold">No Certificate or Marksheet Available</h3>
|
||||
<p className="text-muted-foreground">The instructor hasn't set up certificates or marksheets for this course yet.</p>
|
||||
<h3 className="mb-2 text-xl font-semibold">Kein Zertifikat oder Notenblatt verfügbar</h3>
|
||||
<p className="text-muted-foreground">Der Dozent hat für diesen Kurs noch keine Zertifikate oder Notenblätter eingerichtet.</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
@ -52,11 +52,11 @@ const Certificate = () => {
|
||||
<TabsList className="mb-6 grid h-11 w-full grid-cols-2">
|
||||
<TabsTrigger value="certificate" className="flex h-9 cursor-pointer items-center gap-2">
|
||||
<Award className="h-4 w-4" />
|
||||
Certificate
|
||||
Zertifikat
|
||||
</TabsTrigger>
|
||||
<TabsTrigger value="marksheet" className="flex h-9 cursor-pointer items-center gap-2">
|
||||
<ClipboardList className="h-4 w-4" />
|
||||
Marksheet
|
||||
Notenblatt
|
||||
</TabsTrigger>
|
||||
</TabsList>
|
||||
|
||||
@ -65,8 +65,8 @@ const Certificate = () => {
|
||||
<Card>
|
||||
<CardContent className="flex flex-col items-center justify-center p-12 text-center">
|
||||
<Award className="text-muted-foreground mb-4 h-16 w-16" />
|
||||
<h3 className="mb-2 text-xl font-semibold">No Certificate Available</h3>
|
||||
<p className="text-muted-foreground">The instructor hasn't set up certificates for this course yet.</p>
|
||||
<h3 className="mb-2 text-xl font-semibold">Kein Zertifikat verfügbar</h3>
|
||||
<p className="text-muted-foreground">Der Dozent hat für diesen Kurs noch keine Zertifikate eingerichtet.</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
) : (
|
||||
@ -84,11 +84,11 @@ const Certificate = () => {
|
||||
<Card>
|
||||
<CardContent className="flex flex-col items-center justify-center p-12 text-center">
|
||||
<ClipboardList className="text-muted-foreground mb-4 h-16 w-16" />
|
||||
<h3 className="mb-2 text-xl font-semibold">No Marksheet Available</h3>
|
||||
<h3 className="mb-2 text-xl font-semibold">Kein Notenblatt verfügbar</h3>
|
||||
<p className="text-muted-foreground">
|
||||
{!marksheetTemplate
|
||||
? "The instructor hasn't set up marksheets for this course yet."
|
||||
: 'No marks data available. Complete assignments and quizzes to view your marksheet.'}
|
||||
? 'Der Dozent hat für diesen Kurs noch keine Notenblätter eingerichtet.'
|
||||
: 'Keine Notendaten verfügbar. Schließe Aufgaben und Tests ab, um dein Notenblatt zu sehen.'}
|
||||
</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
@ -41,7 +41,7 @@ const CourseAssignments = () => {
|
||||
))
|
||||
) : (
|
||||
<TableRow>
|
||||
<TableCell className="h-24 text-center">No assignments found.</TableCell>
|
||||
<TableCell className="h-24 text-center">Keine Aufgaben gefunden.</TableCell>
|
||||
</TableRow>
|
||||
)}
|
||||
</TableBody>
|
||||
@ -49,7 +49,7 @@ const CourseAssignments = () => {
|
||||
</div>
|
||||
) : (
|
||||
<div className="py-12 text-center">
|
||||
<p className="text-muted-foreground text-lg">No assignments available for this course yet.</p>
|
||||
<p className="text-muted-foreground text-lg">Für diesen Kurs sind noch keine Aufgaben verfügbar.</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@ -19,9 +19,9 @@ const CourseCertificate = () => {
|
||||
return (
|
||||
<Alert>
|
||||
<Lock className="h-4 w-4" />
|
||||
<AlertTitle>Certificate & Marksheet Locked</AlertTitle>
|
||||
<AlertTitle>Zertifikat & Notenblatt gesperrt</AlertTitle>
|
||||
<AlertDescription>
|
||||
Complete all course modules to unlock your certificate and marksheet. Your current progress: {completion?.completion || 0}%
|
||||
Schließe alle Kursmodule ab, um dein Zertifikat und Notenblatt freizuschalten. Dein aktueller Fortschritt: {completion?.completion || 0}%
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
);
|
||||
@ -38,8 +38,8 @@ const CourseCertificate = () => {
|
||||
<Card>
|
||||
<CardContent className="flex flex-col items-center justify-center p-12 text-center">
|
||||
<Award className="text-muted-foreground mb-4 h-16 w-16" />
|
||||
<h3 className="mb-2 text-xl font-semibold">No Certificate or Marksheet Available</h3>
|
||||
<p className="text-muted-foreground">The instructor hasn't set up certificates or marksheets for this course yet.</p>
|
||||
<h3 className="mb-2 text-xl font-semibold">Kein Zertifikat oder Notenblatt verfügbar</h3>
|
||||
<p className="text-muted-foreground">Der Dozent hat für diesen Kurs noch keine Zertifikate oder Notenblätter eingerichtet.</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
@ -52,11 +52,11 @@ const CourseCertificate = () => {
|
||||
<TabsList className="mb-6 grid h-11 w-full grid-cols-2">
|
||||
<TabsTrigger value="certificate" className="flex h-9 cursor-pointer items-center gap-2">
|
||||
<Award className="h-4 w-4" />
|
||||
Certificate
|
||||
Zertifikat
|
||||
</TabsTrigger>
|
||||
<TabsTrigger value="marksheet" className="flex h-9 cursor-pointer items-center gap-2">
|
||||
<ClipboardList className="h-4 w-4" />
|
||||
Marksheet
|
||||
Notenblatt
|
||||
</TabsTrigger>
|
||||
</TabsList>
|
||||
|
||||
@ -65,8 +65,8 @@ const CourseCertificate = () => {
|
||||
<Card>
|
||||
<CardContent className="flex flex-col items-center justify-center p-12 text-center">
|
||||
<Award className="text-muted-foreground mb-4 h-16 w-16" />
|
||||
<h3 className="mb-2 text-xl font-semibold">No Certificate Available</h3>
|
||||
<p className="text-muted-foreground">The instructor hasn't set up certificates for this course yet.</p>
|
||||
<h3 className="mb-2 text-xl font-semibold">Kein Zertifikat verfügbar</h3>
|
||||
<p className="text-muted-foreground">Der Dozent hat für diesen Kurs noch keine Zertifikate eingerichtet.</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
) : (
|
||||
@ -84,11 +84,11 @@ const CourseCertificate = () => {
|
||||
<Card>
|
||||
<CardContent className="flex flex-col items-center justify-center p-12 text-center">
|
||||
<ClipboardList className="text-muted-foreground mb-4 h-16 w-16" />
|
||||
<h3 className="mb-2 text-xl font-semibold">No Marksheet Available</h3>
|
||||
<h3 className="mb-2 text-xl font-semibold">Kein Notenblatt verfügbar</h3>
|
||||
<p className="text-muted-foreground">
|
||||
{!marksheetTemplate
|
||||
? "The instructor hasn't set up marksheets for this course yet."
|
||||
: 'No marks data available. Complete assignments and quizzes to view your marksheet.'}
|
||||
? 'Der Dozent hat für diesen Kurs noch keine Notenblätter eingerichtet.'
|
||||
: 'Keine Notendaten verfügbar. Schließe Aufgaben und Tests ab, um dein Notenblatt zu sehen.'}
|
||||
</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user