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>
|
||||
</div>
|
||||
|
||||
<Container class="text-muted" style="overflow-y: auto; max-height: 34vh">
|
||||
{@html theme.intro.replace("$FILES$", "../files")}
|
||||
</Container>
|
||||
{#if theme.intro}
|
||||
<Container class="text-muted" style="overflow-y: auto; max-height: 34vh">
|
||||
{@html theme.intro.replace("$FILES$", "../files")}
|
||||
</Container>
|
||||
{/if}
|
||||
|
||||
{#await getThemedExercices($page.params.tid)}
|
||||
{:then exercices}
|
||||
|
Loading…
x
Reference in New Issue
Block a user