libfic: Can indicate that an exercice is WIP
This commit is contained in:
parent
4b8e447b1b
commit
c415e06237
10 changed files with 63 additions and 6 deletions
|
|
@ -36,6 +36,15 @@
|
|||
{#if !$my || !$my.exercices[$current_exercice.id]}
|
||||
<p class="lead text-justify">{@html $current_exercice.headline}</p>
|
||||
{:else}
|
||||
{#if $my.exercices[$current_exercice.id].wip}
|
||||
<Alert color="warning">
|
||||
<Icon name="cone-striped" />
|
||||
<strong>
|
||||
Cette étape est marquée comme étant en cours d'élaboration.
|
||||
</strong>
|
||||
Elle n'est pas prête à être tentée. Vous devriez directement passer à l'étape suivante.
|
||||
</Alert>
|
||||
{/if}
|
||||
<p class="lead text-justify">{@html $my.exercices[$current_exercice.id].statement}</p>
|
||||
{#if $my.exercices[$current_exercice.id].issue}
|
||||
<Alert color="{$my.exercices[$current_exercice.id].issuekind}">
|
||||
|
|
|
|||
Reference in a new issue