Add more circle data
This commit is contained in:
parent
ad532dc50d
commit
dbf3db3d23
|
|
@ -145,7 +145,7 @@ const profileDropdownData = [
|
||||||
>
|
>
|
||||||
<router-link
|
<router-link
|
||||||
v-if="inLearningPath()"
|
v-if="inLearningPath()"
|
||||||
to="/learn/versicherungsvermittlerin"
|
to="/learn/versicherungsvermittlerin-lp"
|
||||||
class="nav-item"
|
class="nav-item"
|
||||||
:class="{ 'nav-item--active': inLearningPath() }"
|
:class="{ 'nav-item--active': inLearningPath() }"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ def create_circle_children(circle, title):
|
||||||
VideoBlockFactory(
|
VideoBlockFactory(
|
||||||
url="https://www.youtube.com/embed/qhPIfxS2hvI",
|
url="https://www.youtube.com/embed/qhPIfxS2hvI",
|
||||||
description="In dieser Circle zeigt dir ein Fachexperte anhand von Kundensituationen, wie du erfolgreich"
|
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.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|
@ -84,7 +84,7 @@ def create_circle_children(circle, title):
|
||||||
VideoBlockFactory(
|
VideoBlockFactory(
|
||||||
url="https://onedrive.live.com/embed?cid=26E4A934B79DCE5E&resid=26E4A934B79DCE5E%2153350&authkey=AId6i7z_X8l2fHw",
|
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"
|
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.",
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
|
@ -382,35 +382,26 @@ def create_default_learning_path(user=None, skip_locales=True):
|
||||||
)
|
)
|
||||||
|
|
||||||
TopicFactory(title="Basis", is_visible=False, parent=lp)
|
TopicFactory(title="Basis", is_visible=False, parent=lp)
|
||||||
|
|
||||||
create_circle_basis(lp)
|
create_circle_basis(lp)
|
||||||
|
|
||||||
TopicFactory(title="Gewinnen von Kunden", parent=lp)
|
TopicFactory(title="Gewinnen von Kunden", parent=lp)
|
||||||
|
|
||||||
create_circle_gewinnen(lp)
|
create_circle_gewinnen(lp)
|
||||||
|
|
||||||
TopicFactory(title="Beraten der Kunden", parent=lp)
|
TopicFactory(title="Beraten der Kunden", parent=lp)
|
||||||
|
create_circle_einstieg(lp)
|
||||||
circle_einstieg = create_circle("Einstieg", lp)
|
create_circle_analyse(lp)
|
||||||
create_circle_children(circle_einstieg, "Einstieg")
|
create_circle_loesung(lp)
|
||||||
|
create_circle_abschluss(lp)
|
||||||
circle_analyse = create_circle("Analyse", lp)
|
|
||||||
create_circle_children(circle_analyse, "Analyse")
|
|
||||||
|
|
||||||
circle_analyse = create_circle("Lösung", lp)
|
|
||||||
create_circle_children(circle_analyse, "Lösung")
|
|
||||||
|
|
||||||
circle_analyse = create_circle("Abschluss", lp)
|
|
||||||
create_circle_children(circle_analyse, "Abschluss")
|
|
||||||
|
|
||||||
TopicFactory(title="Betreuen und Ausbauen des Kundenstamms", parent=lp)
|
TopicFactory(title="Betreuen und Ausbauen des Kundenstamms", parent=lp)
|
||||||
|
create_circle_betreuen(lp)
|
||||||
|
|
||||||
circle_analyse = create_circle("Betreuen", lp)
|
# circle_analyse = create_circle("Betreuen", lp)
|
||||||
create_circle_children(circle_analyse, "Betreuen")
|
# create_circle_children(circle_analyse, "Betreuen")
|
||||||
|
#
|
||||||
TopicFactory(title="Prüfung", is_visible=True, parent=lp)
|
# TopicFactory(title="Prüfung", is_visible=True, parent=lp)
|
||||||
circle_analyse = create_circle("Prüfungsvorbereitung", lp)
|
# circle_analyse = create_circle("Prüfungsvorbereitung", lp)
|
||||||
create_circle_children(circle_analyse, "Prüfungsvorbereitung")
|
# create_circle_children(circle_analyse, "Prüfungsvorbereitung")
|
||||||
|
|
||||||
# locales
|
# locales
|
||||||
if not skip_locales:
|
if not skip_locales:
|
||||||
|
|
@ -589,3 +580,375 @@ Neukundinnen und -kunden.""".strip(),
|
||||||
title="Lerninhalt offen",
|
title="Lerninhalt offen",
|
||||||
parent=circle,
|
parent=circle,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def create_circle_einstieg(lp):
|
||||||
|
circle = CircleFactory(
|
||||||
|
title="Einstieg",
|
||||||
|
parent=lp,
|
||||||
|
)
|
||||||
|
LearningSequenceFactory(title="Starten", parent=circle, icon="it-icon-ls-start")
|
||||||
|
LearningUnitFactory(title="Einführung", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Verschaff dir einen Überblick",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beobachten", parent=circle, icon="it-icon-ls-watch")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Patrizia & Marco sichern sich ab",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Einkommenssicherung",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Anwenden", parent=circle, icon="it-icon-ls-apply")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Rafael Fasel wechselt sein Auto",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Fahrzeug",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Rafael Fasel zieht von zu Hause aus",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Haushalt",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Emma und Ayla campen durch Amerika",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Reisen",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Herr und Frau Russo planen ihre Pensionierung",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Pensionierung",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Familie Babic erwartet Nachwuchs",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Gesundheit",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Anna Fleur übernimmt den Blumenladen",
|
||||||
|
parent=circle,
|
||||||
|
category_name="KMU",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Üben", parent=circle, icon="it-icon-ls-practice")
|
||||||
|
LearningUnitFactory(title="Gesprächseinstieg", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Mediathek",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Der erste Eindruck zählt",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beenden", parent=circle, icon="it-icon-ls-end")
|
||||||
|
LearningUnitFactory(title="Circle beenden", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Lerninhalt offen",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def create_circle_analyse(lp):
|
||||||
|
circle = CircleFactory(
|
||||||
|
title="Analyse",
|
||||||
|
parent=lp,
|
||||||
|
)
|
||||||
|
LearningSequenceFactory(title="Starten", parent=circle, icon="it-icon-ls-start")
|
||||||
|
LearningUnitFactory(title="Einführung", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Verschaff dir einen Überblick",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beobachten", parent=circle, icon="it-icon-ls-watch")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Patrizia & Marco sichern sich ab",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Einkommenssicherung",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Anwenden", parent=circle, icon="it-icon-ls-apply")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Rafael Fasel wechselt sein Auto",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Fahrzeug",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Rafael Fasel zieht von zu Hause aus",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Haushalt",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Emma und Ayla campen durch Amerika",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Reisen",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Herr und Frau Russo planen ihre Pensionierung",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Pensionierung",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Familie Babic erwartet Nachwuchs",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Gesundheit",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Anna Fleur übernimmt den Blumenladen",
|
||||||
|
parent=circle,
|
||||||
|
category_name="KMU",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Üben", parent=circle, icon="it-icon-ls-practice")
|
||||||
|
LearningUnitFactory(title="Gesprächseinstieg", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Mediathek",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Lerninhalt offen",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beenden", parent=circle, icon="it-icon-ls-end")
|
||||||
|
LearningUnitFactory(title="Circle beenden", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Lerninhalt offen",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def create_circle_loesung(lp):
|
||||||
|
circle = CircleFactory(
|
||||||
|
title="Lösung",
|
||||||
|
parent=lp,
|
||||||
|
)
|
||||||
|
LearningSequenceFactory(title="Starten", parent=circle, icon="it-icon-ls-start")
|
||||||
|
LearningUnitFactory(title="Einführung", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Verschaff dir einen Überblick",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beobachten", parent=circle, icon="it-icon-ls-watch")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Patrizia & Marco sichern sich ab",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Einkommenssicherung",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Anwenden", parent=circle, icon="it-icon-ls-apply")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Rafael Fasel wechselt sein Auto",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Fahrzeug",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Rafael Fasel zieht von zu Hause aus",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Haushalt",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Emma und Ayla campen durch Amerika",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Reisen",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Herr und Frau Russo planen ihre Pensionierung",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Pensionierung",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Familie Babic erwartet Nachwuchs",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Gesundheit",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Anna Fleur übernimmt den Blumenladen",
|
||||||
|
parent=circle,
|
||||||
|
category_name="KMU",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Üben", parent=circle, icon="it-icon-ls-practice")
|
||||||
|
LearningUnitFactory(title="Heirat", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Mediathek",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Patrizia & Marco heiraten",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Fachcheck Heirat",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beenden", parent=circle, icon="it-icon-ls-end")
|
||||||
|
LearningUnitFactory(title="Circle beenden", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Lerninhalt offen",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def create_circle_abschluss(lp):
|
||||||
|
circle = CircleFactory(
|
||||||
|
title="Abschluss",
|
||||||
|
parent=lp,
|
||||||
|
)
|
||||||
|
LearningSequenceFactory(title="Starten", parent=circle, icon="it-icon-ls-start")
|
||||||
|
LearningUnitFactory(title="Einführung", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Verschaff dir einen Überblick",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beobachten", parent=circle, icon="it-icon-ls-watch")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Patrizia & Marco sichern sich ab",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Einkommenssicherung",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Anwenden", parent=circle, icon="it-icon-ls-apply")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Rafael Fasel wechselt sein Auto",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Fahrzeug",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Rafael Fasel zieht von zu Hause aus",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Haushalt",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Emma und Ayla campen durch Amerika",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Reisen",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Herr und Frau Russo planen ihre Pensionierung",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Pensionierung",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Familie Babic erwartet Nachwuchs",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Gesundheit",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Anna Fleur übernimmt den Blumenladen",
|
||||||
|
parent=circle,
|
||||||
|
category_name="KMU",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Üben", parent=circle, icon="it-icon-ls-practice")
|
||||||
|
LearningUnitFactory(title="Auswandern", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Mediathek",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Emma und Ayla wandern nach Amerika aus",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Fachcheck Auswandern",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beenden", parent=circle, icon="it-icon-ls-end")
|
||||||
|
LearningUnitFactory(title="Circle beenden", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Lerninhalt offen",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def create_circle_betreuen(lp):
|
||||||
|
circle = CircleFactory(
|
||||||
|
title="Abschluss",
|
||||||
|
parent=lp,
|
||||||
|
)
|
||||||
|
LearningSequenceFactory(title="Starten", parent=circle, icon="it-icon-ls-start")
|
||||||
|
LearningUnitFactory(title="Einführung", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Verschaff dir einen Überblick",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beobachten", parent=circle, icon="it-icon-ls-watch")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Patrizia Feller macht sich selbsständig",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Selbständigkeit",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Anwenden", parent=circle, icon="it-icon-ls-apply")
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Familie Feller Bonsera kaufen ein Haus",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Wohneigentum",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Rafael Fasel hat Ärger mit dem Vermieter",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Rechtsstreitigkeiten",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Familie Babic spart auf ein Ziel",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Sparen",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Chiara übernimmt das Haus der Eltern",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Erben / Vererben",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Üben", parent=circle, icon="it-icon-ls-practice")
|
||||||
|
LearningUnitFactory(title="Bauen", parent=circle)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Blumenladen Fleur expandiert",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Wohneigentum",
|
||||||
|
)
|
||||||
|
create_standard_learning_unit(
|
||||||
|
"Davide & Giulia verkaufen ihr Haus an Chiara",
|
||||||
|
parent=circle,
|
||||||
|
category_name="Wohneigentum",
|
||||||
|
)
|
||||||
|
|
||||||
|
LearningSequenceFactory(title="Beenden", parent=circle, icon="it-icon-ls-end")
|
||||||
|
LearningUnitFactory(title="Circle beenden", parent=circle)
|
||||||
|
LearningContentFactory(
|
||||||
|
title="Lerninhalt offen",
|
||||||
|
parent=circle,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def create_standard_learning_unit(title, parent, category_name):
|
||||||
|
LearningUnitFactory(
|
||||||
|
title=category_name,
|
||||||
|
parent=parent,
|
||||||
|
course_category=CourseCategory.objects.get(
|
||||||
|
course_id=COURSE_VERSICHERUNGSVERMITTLERIN_ID, title=category_name
|
||||||
|
),
|
||||||
|
)
|
||||||
|
LearningContentFactory(
|
||||||
|
title=f"Mediathek {category_name}",
|
||||||
|
parent=parent,
|
||||||
|
)
|
||||||
|
LearningContentFactory(
|
||||||
|
title=title,
|
||||||
|
parent=parent,
|
||||||
|
)
|
||||||
|
LearningContentFactory(
|
||||||
|
title=f"Fachcheck {category_name}",
|
||||||
|
parent=parent,
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue