目次に戻る

PC版/パーツテンプレート/テスト結果詳細の情報

4.18.0アップデートでの変更箇所は下記となります。(行数は無編集の場合の目安となります)
+ で始まる行がアップデートで追加された行となります
- で始まる行がアップデートで削除された行となります

テンプレート編集画面の「オリジナルとの差分を確認する」機能でも差分をご確認いただけます。

差分の表示形式を選択してください
PC/Parts/pc_study##mypage.partial.testDetailResultList.twig CHANGED
@@ -1,4 +1,4 @@
1
- {% for row in lessonTestAnswer.lesson_test_answer_detail %}
1
+ {% for row in lessonTestAnswerDetails %}
2
2
  {% if loop.first %}
3
3
  <table role="table" aria-busy="false" class="table-test_answer">
4
4
  <thead role="rowgroup" class="">
@@ -10,7 +10,7 @@
10
10
  <div>問題文</div>
11
11
  </th>
12
12
  <th role="columnheader" scope="col" aria-colindex="3" class="cell-select">
13
- <div>選択</div>
13
+ <div>回答</div>
14
14
  </th>
15
15
  <th role="columnheader" scope="col" aria-colindex="4" class="cell-result">
16
16
  <div>結果</div>
@@ -22,7 +22,11 @@
22
22
  <tr role="row">
23
23
  <td aria-colindex="1" role="cell" class="cell-num">{{row.question_number}}</td>
24
24
  <td aria-colindex="2" role="cell" class="cell-text">{{row.question_text|raw}}</td>
25
- <td aria-colindex="3" role="cell" class="cell-select">{{row.answer_text}}</td>
25
+ <td aria-colindex="3" role="cell" class="cell-select">
26
+ {% for answer_text in row.answer_texts %}
27
+ {{answer_text}}<br>
28
+ {% endfor %}
29
+ </td>
26
30
  <td aria-colindex="4" role="cell" class="cell-result"><div>{{row.result ? '正解': '不正解'}}</div></td>
27
31
  </tr>
28
32
  {% if loop.last %}