%inherit file="main.html" />
<%!
from django.core.urlresolvers import reverse
%>
<%block name="headextra">
%block>
<%include file="navigation.html" args="active_page='profile'" />
Course Progress
%for chapter in chapters:
%if not chapter['chapter'] == "hidden":
%for section in chapter['sections']:
<%
earned = section['section_total'][0]
total = section['section_total'][1]
percentageString = "{0:.0%}".format( float(earned)/total) if earned > 0 else ""
%>
${ section['section'] } ${"({0:g}/{1:g}) {2}".format( earned, 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:g}/{1:g}".format(score[0],score[1])}
%endfor
%endif
%endfor
%endif
%endfor
${name}
%if True:
Apply to change
%else:
(Name change pending)
%endif
Forum name: ${username}
E-mail: ${email} Update
Location: ${location}
Edit
Language: ${language}
Edit
Password Reset Email Sent
An email has been sent to ${email}. Follow the link in the email to change your password.
Apply to change your name
Unenroll
At the end of the semester, all students who do not complete the
course will be automatically dropped. If you would still prefer to
deactivate your account, you can: