Commit 9ae840fb by aagusti

perbaikan results

1 parent 7dc1e095
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
/ /
<t t-esc="question_count"/> <t t-esc="question_count"/>
<br/> <br/>
<t t-esc="percent"/>% <t t-esc="percent"/>
</h2> </h2>
<t t-if="exam_result.exam_id.show_correct_questions == True"> <t t-if="exam_result.exam_id.show_correct_questions == True">
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
<t t-foreach="exam_result.results" t-as="question_result"> <t t-foreach="exam_result.results" t-as="question_result">
<tr> <tr>
<td> <td>
<t t-esc="question_result.question.question"/> <t t-esc="question_result.question_id.question.replace('&lt;p&gt;','').replace('&lt;/p&gt;','')"/>
</td> </td>
<td> <td>
<t t-if="question_result.correct == True"> <t t-if="question_result.correct == True">
...@@ -146,7 +146,6 @@ ...@@ -146,7 +146,6 @@
<t t-if="question_result.correct == False"> <t t-if="question_result.correct == False">
<span style="color:red;">Incorrect</span> <span style="color:red;">Incorrect</span>
</t> </t>
</td> </td>
</tr> </tr>
</t> </t>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!