.
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="feedbakc: {{ans_score.2}}">{{ans_score.1}}</td>
|
<td class="atlas-ans user-answer-score-{{ans_score.1}}" title="feedback: {{ans_score.2}}">{{ans_score.1}}</td>
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -1399,6 +1399,7 @@ def collection_case_view(request, pk, case_number):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# TODO: this needs a major cleanup
|
||||||
@user_is_collection_author_or_atlas_editor
|
@user_is_collection_author_or_atlas_editor
|
||||||
def collection_scores_cid(request, pk):
|
def collection_scores_cid(request, pk):
|
||||||
collection = get_object_or_404(CaseCollection, pk=pk)
|
collection = get_object_or_404(CaseCollection, pk=pk)
|
||||||
|
|||||||
Reference in New Issue
Block a user