From 69d698f97a0658c29b52f622026ae3204c1c9767 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 10 Apr 2022 21:32:14 +0100 Subject: [PATCH] . --- atlas/templates/atlas/collection_scores.html | 2 +- atlas/views.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/atlas/templates/atlas/collection_scores.html b/atlas/templates/atlas/collection_scores.html index 89a8d757..abbec8a1 100644 --- a/atlas/templates/atlas/collection_scores.html +++ b/atlas/templates/atlas/collection_scores.html @@ -63,7 +63,7 @@ {% endfor %} {% endcomment %} {% for cid in cids %} {% with by_question|get_item:question|get_item:cid as ans_score %} - {{ans_score.1}} + {{ans_score.1}} {% endwith %} {% endfor %} diff --git a/atlas/views.py b/atlas/views.py index 0ffe0425..152c7bd0 100755 --- a/atlas/views.py +++ b/atlas/views.py @@ -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 def collection_scores_cid(request, pk): collection = get_object_or_404(CaseCollection, pk=pk)