+
{mobileView === 'main' ? (
@@ -199,7 +203,7 @@ export function RichTextEditor({
}}
editor={editor}
role='presentation'
- className={cn('rounded-md border border-input-ring', 'flex flex-1 flex-col', 'min-h-72 p-5', 'cursor-text overflow-auto')}
+ className={cn('rounded-md border border-input-ring', 'flex flex-1 flex-col', 'min-h-72 p-5', 'cursor-text overflow-auto', editorPaneClassname)}
/>
diff --git a/src/i18n/locales/de.json b/src/i18n/locales/de.json
index bec865c4..7d71c024 100644
--- a/src/i18n/locales/de.json
+++ b/src/i18n/locales/de.json
@@ -107,7 +107,8 @@
},
"submit_create_button_label": "Kursinhalt erstellen",
"submit_update_button_label": "Inhalt aktualisieren"
- }
+ },
+ "empty_content_text": "There are currently no contents associated to this course."
},
"QuestionSection": {
"title": "Fragen",
@@ -343,6 +344,15 @@
}
},
"title": "Ergebnisse deines Übungsversuchs"
+ },
+ "Contents": {
+ "title": "Kursinhalte",
+ "description": "Lesen Sie die Kursinhalte durch, um sich auf Übungen und Prüfungen vorzubereiten",
+ "Navigation": {
+ "title": "Verfügbare Inhalte",
+ "next_btn_label": "Nächster",
+ "previous_btn_label": "Vorheriger"
+ }
}
},
"Examination": {
@@ -393,6 +403,7 @@
"Statistics": {
"questions_label": "Fragen",
"estimatedTime_label": "geschätze Zeit",
+ "contents_label": "Inhalte",
"points_label": "Punkte"
},
"user_role": {
@@ -430,6 +441,10 @@
"tooltip": "Übungs freigabelink erfolgreich in Zwischenablage kopiert.",
"toast": "Erstellen des Übungslinks fehlgeschlagen."
},
+ "show_course_contents": {
+ "label": "Kursinhalte anzeigen",
+ "tooltip": "Dieser Kurs hat keine Inhalte die angezeigt werden können."
+ },
"edit_course": {
"label": "Kurs bearbeiten",
"tooltip": "Dir fehlen die Berechtigungen um diesen Kurs zu bearbeiten."
diff --git a/src/i18n/locales/de.ts b/src/i18n/locales/de.ts
index 85ea860e..70e8a359 100644
--- a/src/i18n/locales/de.ts
+++ b/src/i18n/locales/de.ts
@@ -110,7 +110,8 @@ export default {
},
submit_create_button_label: 'Kursinhalt erstellen',
submit_update_button_label: 'Inhalt aktualisieren'
- }
+ },
+ empty_content_text: 'There are currently no contents associated to this course.'
},
QuestionSection: {
title: 'Fragen',
@@ -346,6 +347,15 @@ export default {
}
},
title: 'Ergebnisse deines Übungsversuchs'
+ },
+ Contents: {
+ title: 'Kursinhalte',
+ description: 'Lesen Sie die Kursinhalte durch, um sich auf Übungen und Prüfungen vorzubereiten',
+ Navigation: {
+ title: 'Verfügbare Inhalte',
+ next_btn_label: 'Nächster',
+ previous_btn_label: 'Vorheriger'
+ }
}
},
Examination: {
@@ -397,6 +407,7 @@ export default {
Statistics: {
questions_label: 'Fragen',
estimatedTime_label: 'geschätze Zeit',
+ contents_label: 'Inhalte',
points_label: 'Punkte'
},
user_role: {
@@ -434,6 +445,10 @@ export default {
tooltip: 'Übungs freigabelink erfolgreich in Zwischenablage kopiert.',
toast: 'Erstellen des Übungslinks fehlgeschlagen.'
},
+ show_course_contents: {
+ label: 'Kursinhalte anzeigen',
+ tooltip: 'Dieser Kurs hat keine Inhalte die angezeigt werden können.'
+ },
edit_course: {
label: 'Kurs bearbeiten',
tooltip: 'Dir fehlen die Berechtigungen um diesen Kurs zu bearbeiten.'
diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json
index ac3800e9..ca2c405a 100644
--- a/src/i18n/locales/en.json
+++ b/src/i18n/locales/en.json
@@ -117,7 +117,8 @@
},
"submit_create_button_label": "Create Content",
"submit_update_button_label": "Update Content"
- }
+ },
+ "empty_content_text": "There are currently no contents associated to this course."
},
"QuestionSection": {
"title": "Questions",
@@ -353,6 +354,15 @@
"description": "Shows a detailed list of every question of this course to review your answers."
}
}
+ },
+ "Contents": {
+ "title": "Course Contents",
+ "description": "Read through the course contents to prepare for practice and examinations",
+ "Navigation": {
+ "title": "Available Contents",
+ "next_btn_label": "Next",
+ "previous_btn_label": "Previous"
+ }
}
},
"Examination": {
@@ -403,6 +413,7 @@
"Statistics": {
"questions_label": "Questions",
"estimatedTime_label": "estimatedTime",
+ "contents_label": "Contents",
"points_label": "Points"
},
"user_role": {
@@ -440,6 +451,10 @@
"tooltip": "This course has no questions, examination disabled.",
"toast": "Unable to start Practice"
},
+ "show_course_contents": {
+ "label": "Show Course Contents",
+ "tooltip": "This course has no contents, please create one first."
+ },
"edit_course": {
"label": "Edit Course",
"tooltip": "You are not allowed to edit this course!"
diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts
index d0bb0788..afeb34b1 100644
--- a/src/i18n/locales/en.ts
+++ b/src/i18n/locales/en.ts
@@ -117,7 +117,8 @@ export default {
},
submit_create_button_label: 'Create Content',
submit_update_button_label: 'Update Content'
- }
+ },
+ empty_content_text: 'There are currently no contents associated to this course.'
},
QuestionSection: {
title: 'Questions',
@@ -353,6 +354,15 @@ export default {
description: 'Shows a detailed list of every question of this course to review your answers.'
}
}
+ },
+ Contents: {
+ title: 'Course Contents',
+ description: 'Read through the course contents to prepare for practice and examinations',
+ Navigation: {
+ title: 'Available Contents',
+ next_btn_label: 'Next',
+ previous_btn_label: 'Previous'
+ }
}
},
Examination: {
@@ -403,6 +413,7 @@ export default {
Statistics: {
questions_label: 'Questions',
estimatedTime_label: 'estimatedTime',
+ contents_label: 'Contents',
points_label: 'Points'
},
user_role: {
@@ -440,6 +451,10 @@ export default {
tooltip: 'This course has no questions, examination disabled.',
toast: 'Unable to start Practice'
},
+ show_course_contents: {
+ label: 'Show Course Contents',
+ tooltip: 'This course has no contents, please create one first.'
+ },
edit_course: {
label: 'Edit Course',
tooltip: 'You are not allowed to edit this course!'