qa: Handle $FILES$ in paths

This commit is contained in:
nemunaire 2022-11-07 05:56:53 +01:00
parent cd51246d9b
commit 9044260a71
2 changed files with 3 additions and 3 deletions

View File

@ -85,13 +85,13 @@
class="col-md-6"
style="overflow-y: auto; max-height: 40vh;"
>
{@html exercice.statement}
{@html exercice.statement.replace("$FILES$", "../files")}
</div>
<div
class="col-md-6"
style="overflow-y: auto; max-height: 40vh;"
>
{@html exercice.overview}
{@html exercice.overview.replace("$FILES$", "../files")}
</div>
</Row>

View File

@ -41,7 +41,7 @@
</div>
<Container class="text-muted" style="overflow-y: auto; max-height: 34vh">
{@html theme.intro}
{@html theme.intro.replace("$FILES$", "../files")}
</Container>
{#await getThemedExercices($page.params.tid)}