qa: Don't fail if no intro
This commit is contained in:
parent
d4990916b5
commit
7114ece593
@ -40,9 +40,11 @@
|
|||||||
<small class="m-2 mb-3 text-muted text-truncate">{@html theme.authors}</small>
|
<small class="m-2 mb-3 text-muted text-truncate">{@html theme.authors}</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Container class="text-muted" style="overflow-y: auto; max-height: 34vh">
|
{#if theme.intro}
|
||||||
{@html theme.intro.replace("$FILES$", "../files")}
|
<Container class="text-muted" style="overflow-y: auto; max-height: 34vh">
|
||||||
</Container>
|
{@html theme.intro.replace("$FILES$", "../files")}
|
||||||
|
</Container>
|
||||||
|
{/if}
|
||||||
|
|
||||||
{#await getThemedExercices($page.params.tid)}
|
{#await getThemedExercices($page.params.tid)}
|
||||||
{:then exercices}
|
{:then exercices}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user