Add new types, update name
This commit is contained in:
parent
1d7816f664
commit
44d8c1645e
|
|
@ -66,6 +66,10 @@ export interface VideoBlock extends BaseLearningContentBlock {
|
|||
readonly type: "video";
|
||||
}
|
||||
|
||||
export interface LearningModuleBlock extends BaseLearningContentBlock {
|
||||
readonly type: "learningmodule";
|
||||
}
|
||||
|
||||
export interface PlaceholderBlock extends BaseLearningContentBlock {
|
||||
readonly type: "placeholder";
|
||||
}
|
||||
|
|
@ -80,6 +84,7 @@ export type LearningContentBlock =
|
|||
| ResourceBlock
|
||||
| TestBlock
|
||||
| VideoBlock
|
||||
| LearningModuleBlock
|
||||
| PlaceholderBlock;
|
||||
|
||||
export type LearningContentType = LearningContentBlock["type"];
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ export function learningContentTypeData(t: LearningContentType): {
|
|||
return { title: "Dokument", icon: "it-icon-lc-document" };
|
||||
case "exercise":
|
||||
return { title: "Übung", icon: "it-icon-lc-exercise" };
|
||||
case "learningmodule":
|
||||
return { title: "Lernmodul", icon: "it-icon-lc-exercise" };
|
||||
case "media_library":
|
||||
return { title: "Mediathek", icon: "it-icon-lc-media-library" };
|
||||
case "online_training":
|
||||
|
|
@ -23,7 +25,7 @@ export function learningContentTypeData(t: LearningContentType): {
|
|||
case "test":
|
||||
return { title: "Test", icon: "it-icon-lc-test" };
|
||||
case "resource":
|
||||
return { title: "Ressource", icon: "it-icon-lc-resource" };
|
||||
return { title: "Reflexion", icon: "it-icon-lc-resource" };
|
||||
case "placeholder":
|
||||
return { title: "In Umsetzung", icon: "it-icon-lc-document" };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ wichtige Grundlage für eine erfolgreiche Beziehung.
|
|||
VideoBlockFactory(
|
||||
url="https://onedrive.live.com/embed?cid=26E4A934B79DCE5E&resid=26E4A934B79DCE5E%2153350&authkey=AId6i7z_X8l2fHw",
|
||||
description="In dieser Circle zeigt dir ein Fachexperte anhand von Kundensituationen, wie du erfolgreich"
|
||||
"den Kundenbedarf ermitteln, analysieren, priorisieren und anschliessend zusammenfassen kannst.",
|
||||
"den Kundenbedarf ermitteln, analysieren, priorisieren und anschliessend zusammenfassen kannst.",
|
||||
),
|
||||
)
|
||||
],
|
||||
|
|
@ -840,7 +840,7 @@ def create_standard_learning_unit(
|
|||
parent=parent,
|
||||
contents=[
|
||||
(
|
||||
"exercise",
|
||||
"learningmodule",
|
||||
ExerciseBlockFactory(url=wbt_url),
|
||||
)
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue