frontend: display challenge introduction when there is access restrinction
This commit is contained in:
parent
1b6587de24
commit
4bf9262e79
@ -7,6 +7,9 @@
|
|||||||
<div class="alert alert-warning" style="margin-top:15px;" ng-if="!(my.exercices[current_exercice])">
|
<div class="alert alert-warning" style="margin-top:15px;" ng-if="!(my.exercices[current_exercice])">
|
||||||
Vous n'avez pas encore accès à cet exercice.
|
Vous n'avez pas encore accès à cet exercice.
|
||||||
</div>
|
</div>
|
||||||
|
<div class="jumbotron text-indent" style="margin-top: 15px" class="well well-lg" ng-if="!(my.exercices[current_exercice])">
|
||||||
|
<p class="lead text-justify" ng-bind-html="themes[current_theme].intro"></p>
|
||||||
|
</div>
|
||||||
<div class="jumbotron text-indent" style="margin-top: 15px" class="well well-lg" ng-if="(my.exercices[current_exercice])">
|
<div class="jumbotron text-indent" style="margin-top: 15px" class="well well-lg" ng-if="(my.exercices[current_exercice])">
|
||||||
<h3 class="display-4">{{ themes[current_theme].exercices[current_exercice].title }}</h3>
|
<h3 class="display-4">{{ themes[current_theme].exercices[current_exercice].title }}</h3>
|
||||||
<p class="lead text-justify" ng-bind-html="my.exercices[current_exercice].statement"></p>
|
<p class="lead text-justify" ng-bind-html="my.exercices[current_exercice].statement"></p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user