diff --git a/src/lib/ui/learning-objects/layout/LoContextPanel.svelte b/src/lib/ui/learning-objects/layout/LoContextPanel.svelte index b9a71426b..a48d37dde 100644 --- a/src/lib/ui/learning-objects/layout/LoContextPanel.svelte +++ b/src/lib/ui/learning-objects/layout/LoContextPanel.svelte @@ -4,6 +4,7 @@ import { currentLo, layout } from "$lib/stores"; import { onDestroy } from "svelte"; import LoContext from "../structure/LoContext.svelte"; + import { TreeView } from "@skeletonlabs/skeleton"; export let loContext: Lo; @@ -33,6 +34,8 @@
- + + + diff --git a/src/lib/ui/learning-objects/structure/CourseContext.svelte b/src/lib/ui/learning-objects/structure/CourseContext.svelte index 50b0897c6..33a62532c 100644 --- a/src/lib/ui/learning-objects/structure/CourseContext.svelte +++ b/src/lib/ui/learning-objects/structure/CourseContext.svelte @@ -1,20 +1,20 @@ - + {#each course.los as lo} {#if !lo.hide} - - {lo.title} - + + {lo.title} + - + {/if} {/each} - + diff --git a/src/lib/ui/learning-objects/structure/LoContext.svelte b/src/lib/ui/learning-objects/structure/LoContext.svelte index ba19dd697..7c5371365 100644 --- a/src/lib/ui/learning-objects/structure/LoContext.svelte +++ b/src/lib/ui/learning-objects/structure/LoContext.svelte @@ -1,6 +1,7 @@ {#each lo?.toc as lo} - - {#if lo.toc} - - {/if} + + + + + + {@html lo.title} + {#if lo.video && lo.type != "panelvideo"} + + + + {/if} + + + {#if lo.toc} + + {/if} + + {/each} diff --git a/src/lib/ui/learning-objects/structure/LoReference.svelte b/src/lib/ui/learning-objects/structure/LoReference.svelte deleted file mode 100644 index e0860c264..000000000 --- a/src/lib/ui/learning-objects/structure/LoReference.svelte +++ /dev/null @@ -1,20 +0,0 @@ - - - - - {@html lo.title} - {#if lo.video && lo.type != "panelvideo"} - - - - {/if} -