ui: Mark wip on theme page

This commit is contained in:
nemunaire 2022-11-06 13:01:26 +01:00
parent c13fd3d0b1
commit 0e0b50d439

View File

@ -78,7 +78,12 @@
{/each}
<h5 class="fw-bold">
{#if $my && $my.exercices[k]}
{$current_theme.exercices[k].title}
<span style="white-space: nowrap">
{#if $my.exercices[k].wip}
<Icon name="cone-striped" aria-hidden="true" title="Cette étape est encore en construction." />
{/if}
{$current_theme.exercices[k].title}
</span>
{:else}
<span style="white-space: nowrap">
<Icon name="lock-fill" aria-hidden="true" title="Vous n'avez pas encore accès à ce défi" />