Update Subsection Grade Report to differentiate Not Attempted and 0
TNL-5990
This commit is contained in:
@@ -100,7 +100,7 @@ $(function () {
|
||||
extraColorIndex = len(categories) #Keeping track of the next color to use for categories not in categories[]
|
||||
|
||||
if show_grade_breakdown:
|
||||
for section in grade_summary['grade_breakdown']:
|
||||
for section in grade_summary['grade_breakdown'].itervalues():
|
||||
if section['percent'] > 0:
|
||||
if section['category'] in categories:
|
||||
color = categories[ section['category'] ]['color']
|
||||
|
||||
Reference in New Issue
Block a user