|
8 | 8 |
|
9 | 9 | {% block content %}
|
10 | 10 |
|
11 |
| -{#{% if previous.answers %}#} |
12 |
| -{##} |
13 |
| -{# <p class="muted"><small>{% trans "The previous question" %}:</small></p>#} |
14 |
| -{# <p>{{ previous.previous_question }}</p>#} |
15 |
| -{##} |
16 |
| -{# {% if previous.previous_outcome and previous.previous_in_time %}#} |
17 |
| -{# <div class="alert alert-success">#} |
18 |
| -{# {% else %}#} |
19 |
| -{# <div class="alert alert-warning">#} |
20 |
| -{# {% endif %}#} |
21 |
| -{# <p><small>#} |
22 |
| -{# {% trans "Your answer was" %} </small>#} |
23 |
| -{# <strong>#} |
24 |
| -{# {{ previous.previous_outcome|yesno:"correct,incorrect" }}#} |
25 |
| -{# </strong>#} |
26 |
| -{# </p>#} |
27 |
| -{##} |
28 |
| -{# {% if not previous.previous_in_time %}#} |
29 |
| -{# <p>But, you hit the timeout!</p>#} |
30 |
| -{# {% endif %}#} |
31 |
| -{##} |
32 |
| -{# </div>#} |
33 |
| -{##} |
34 |
| -{# {% include 'correct_answer.html' %}#} |
35 |
| -{##} |
36 |
| -{# <p><strong>{% trans "Explanation" %}:</strong></p>#} |
37 |
| -{# <div class="well " style="background-color: #fcf8e3;">#} |
38 |
| -{# <p>{{ previous.previous_question.explanation }}</p>#} |
39 |
| -{# </div>#} |
40 |
| -{##} |
41 |
| -{# <hr>#} |
42 |
| -{##} |
43 |
| -{#{% endif %}#} |
| 11 | +{% if previous.answers %} |
| 12 | + |
| 13 | + <p class="muted"><small>{% trans "The previous question" %}:</small></p> |
| 14 | + <p>{{ previous.previous_question }}</p> |
| 15 | + |
| 16 | + {% if previous.previous_outcome and previous.previous_in_time %} |
| 17 | + <div class="alert alert-success"> |
| 18 | + {% else %} |
| 19 | + <div class="alert alert-warning"> |
| 20 | + {% endif %} |
| 21 | + <p><small> |
| 22 | + {% trans "Your answer was" %} </small> |
| 23 | + <strong> |
| 24 | + {{ previous.previous_outcome|yesno:"correct,incorrect" }} |
| 25 | + </strong> |
| 26 | + </p> |
| 27 | + |
| 28 | + {% if not previous.previous_in_time %} |
| 29 | + <p>But, you hit the timeout!</p> |
| 30 | + {% endif %} |
| 31 | + |
| 32 | + </div> |
| 33 | + |
| 34 | + <hr> |
| 35 | + |
| 36 | +{% endif %} |
44 | 37 |
|
45 | 38 | <br />
|
46 | 39 |
|
|
0 commit comments