%inherit file="main.html" />
<%block name="title">
Profile - MITx 6.002x%block>
<%!
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}
- Forum name: ${username}
- E-mail: ${email}
-
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.