Skip to content
Snippets Groups Projects
Commit 9e412683 authored by Nicholas D'Alfonso's avatar Nicholas D'Alfonso
Browse files

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
parent 9b778371
No related merge requests found
......@@ -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):
<span class="icon fa fa-pencil-square-o" aria-hidden="true"></span>
% endif
<h4 class="subsection-title">
......@@ -125,7 +125,7 @@ reset_deadlines_banner_displayed = False
%>
% if subsection.get('format') or 'special_exam_info' in subsection:
<span class="subtitle">
% if 'special_exam' in subsection:
% if 'special_exam_info' in subsection:
## Display the exam status icon and status message
<span
class="menu-icon icon fa ${subsection['special_exam_info'].get('suggested_icon', 'fa-pencil-square-o')} ${subsection['special_exam_info'].get('status', 'eligible')}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment