From 9e41268322c61e8a904d07bfbbf89ee7ef293490 Mon Sep 17 00:00:00 2001 From: Nicholas D'Alfonso Date: Mon, 13 Apr 2020 16:16:11 -0400 Subject: [PATCH] AA-83 special exam icon - fix template rendering so that pencil icon is displayed for a special exam and also ensure it is not rendered twice --- .../templates/course_experience/course-outline-fragment.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx/features/course_experience/templates/course_experience/course-outline-fragment.html b/openedx/features/course_experience/templates/course_experience/course-outline-fragment.html index 649731f25e..4f9ac16415 100644 --- a/openedx/features/course_experience/templates/course_experience/course-outline-fragment.html +++ b/openedx/features/course_experience/templates/course_experience/course-outline-fragment.html @@ -79,7 +79,7 @@ reset_deadlines_banner_displayed = False class="subsection-text outline-button" id="${ subsection['id'] }" > - % if num_graded_problems: + % if num_graded_problems and not (subsection.get('format') or 'special_exam_info' in subsection): % endif

@@ -125,7 +125,7 @@ reset_deadlines_banner_displayed = False %> % if subsection.get('format') or 'special_exam_info' in subsection: - % if 'special_exam' in subsection: + % if 'special_exam_info' in subsection: ## Display the exam status icon and status message