Course Progress
Final Grade: ${grade_sheet['grade']}
%if certificate_state['state'] == "requestable": Request Certificate %elif certificate_state['state'] == "downloadable": %if took_survey: %if certificate_state['download_url']: Download Certificate %endif %if certificate_state['graded_download_url']: Download Certificate (with Grade) %endif %else: Download Certificates %endif %elif certificate_state['state'] == "generating": Certificate is being generated... %else: No certificate available %endif %else:No letter grade has been earned for this course
%endif %if not took_survey: Take exit survey %endif-
%for chapter in grade_sheet['courseware_summary']:
%if not chapter['chapter'] == "hidden":
-
${ chapter['chapter'] }
-
%for section in chapter['sections']:
-
<%
earned = section['section_total'].earned
total = section['section_total'].possible
percentageString = "{0:.0%}".format( float(earned)/total) if earned > 0 and total > 0 else ""
%>
${ section['section'] } ${"({0:.3n}/{1:.3n}) {2}".format( float(earned), float(total), percentageString )}
${section['subtitle']} %if 'due' in section and section['due']!="": due ${section['due']} %endif %if len(section['scores']) > 0:-
${ "Problem Scores: " if section['graded'] else "Practice Scores: "}
%for score in section['scores']:
- ${"{0:.3n}/{1:.3n}".format(float(score.earned),float(score.possible))} %endfor
%endfor
%endif
%endfor
-
<%
earned = section['section_total'].earned
total = section['section_total'].possible
percentageString = "{0:.0%}".format( float(earned)/total) if earned > 0 and total > 0 else ""
%>