-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix error at the end of non phased test
- Loading branch information
Showing
2 changed files
with
67 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
111 changes: 60 additions & 51 deletions
111
src/Innova/SelfBundle/Resources/views/Player/common/score.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,73 @@ | ||
{% if session.globalScoreShow %} | ||
<div class="col-md-12"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
<h4><span class="glyphicon glyphicon-thumbs-up"></span> {{ session.globalScoreWording }} </h4> | ||
{% if levelFeedback is not null %} | ||
{{ levelFeedback }} | ||
{% else %} | ||
- | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
<div class="col-md-4"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
<h4><span class=" glyphicon glyphicon-headphones"></span> Compréhension de l'oral</h4> | ||
{% if coFeedback is not null %} | ||
{{ coFeedback }} | ||
{% if session.test.phased %} | ||
{% if session.globalScoreShow %} | ||
<div class="col-md-12"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
<h4><span class="glyphicon glyphicon-thumbs-up"></span> {{ session.globalScoreWording }} </h4> | ||
{% if levelFeedback is not null %} | ||
{{ levelFeedback }} | ||
{% else %} | ||
- | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
<div class="col-md-4"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
<h4><span class="glyphicon glyphicon-book"></span> Compréhension de l'écrit</h4> | ||
{% if ceFeedback is not null %} | ||
{{ ceFeedback }} | ||
{% else %} | ||
- | ||
{% endif %} | ||
<div class="col-md-4"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
<h4><span class=" glyphicon glyphicon-headphones"></span> Compréhension de l'oral</h4> | ||
{% if coFeedback is not null %} | ||
{{ coFeedback }} | ||
{% else %} | ||
- | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-md-4"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
<h4><span class="glyphicon glyphicon-pencil"></span> Expression écrite courte</h4> | ||
{% if eecFeedback is not null %} | ||
{{ eecFeedback }} | ||
{% else %} | ||
- | ||
{% endif %} | ||
|
||
<div class="col-md-4"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
<h4><span class="glyphicon glyphicon-book"></span> Compréhension de l'écrit</h4> | ||
{% if ceFeedback is not null %} | ||
{{ ceFeedback }} | ||
{% else %} | ||
- | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% if ceFeedback is null %} | ||
<div class="col-md-12"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
Attention, le résultat en comprehension de l'écrit a bien été pris en compte mais ne peut pas être affiché pour le moment | ||
<div class="col-md-4"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
<h4><span class="glyphicon glyphicon-pencil"></span> Expression écrite courte</h4> | ||
{% if eecFeedback is not null %} | ||
{{ eecFeedback }} | ||
{% else %} | ||
- | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
|
||
{% if ceFeedback is null %} | ||
<div class="col-md-12"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
Attention, le résultat en comprehension de l'écrit a bien été pris en compte mais ne peut pas être affiché pour le moment | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
{% else %} | ||
<div class="col-md-12"> | ||
<div class="panel panel-default"> | ||
<div class="panel-body text-center"> | ||
Les résultats ne sont pas calculés pour ce type de test. | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} |