From 4b558bd6567956f7bf541ae2307c98d2ca50ed97 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Sat, 18 Feb 2023 20:11:41 -0600 Subject: [PATCH] Fix submission_layout --- templates/submission/user-ajax.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/submission/user-ajax.html b/templates/submission/user-ajax.html index f4748da..b03248a 100644 --- a/templates/submission/user-ajax.html +++ b/templates/submission/user-ajax.html @@ -19,7 +19,7 @@ {% endif %} {% if cur_subtask.submission %} - {% set can_view = submission_layout(cur_subtask.submission, profile_id, request.user, editable_problem_ids, completed_problem_ids) %} + {% set can_view = submission_layout(cur_subtask.submission, profile_id, request.user, editable_problem_ids, completed_problem_ids, tester_problem_ids) %} {% if can_view %} → {{ cur_subtask.submission.id }} @@ -43,7 +43,7 @@ {% for submission in submissions %} - {% set can_view = submission_layout(submission, profile_id, request.user, editable_problem_ids, completed_problem_ids) %} + {% set can_view = submission_layout(submission, profile_id, request.user, editable_problem_ids, completed_problem_ids, tester_problem_ids) %}