.
This commit is contained in:
@@ -63,7 +63,7 @@
|
|||||||
{% endfor %} {% endcomment %}
|
{% endfor %} {% endcomment %}
|
||||||
{% for cid in cids %}
|
{% for cid in cids %}
|
||||||
{% with by_question|get_item:question|get_item:cid as ans_score %}
|
{% with by_question|get_item:question|get_item:cid as ans_score %}
|
||||||
<td class="atlas-ans user-answer-score-{{ans_score.1}}" title="answer score: {{ans_score.1}}">{{ans_score.1}}</td>
|
<td class="atlas-ans user-answer-score-{{ans_score.1}}" title="feedbakc: {{ans_score.2}}">{{ans_score.1}}</td>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
+1
-1
@@ -1459,7 +1459,7 @@ def collection_scores_cid(request, pk):
|
|||||||
user_answers_marks[cid].append(answer_score)
|
user_answers_marks[cid].append(answer_score)
|
||||||
user_answers_and_marks[cid].append((ans, answer_score))
|
user_answers_and_marks[cid].append((ans, answer_score))
|
||||||
|
|
||||||
by_question[q][cid] = (ans, answer_score)
|
by_question[q][cid] = (ans, answer_score, ans.feedback)
|
||||||
|
|
||||||
user_scores = {}
|
user_scores = {}
|
||||||
user_scores_normalised = {}
|
user_scores_normalised = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user