Commit b7c8a697 by brianhw

Merge pull request #1805 from MITx/fix/brian/user-on-progress

add user name and email to progress page
parents 0ff31adf d3e7739b
...@@ -630,6 +630,7 @@ def progress(request, course_id, student_id=None): ...@@ -630,6 +630,7 @@ def progress(request, course_id, student_id=None):
'courseware_summary': courseware_summary, 'courseware_summary': courseware_summary,
'grade_summary': grade_summary, 'grade_summary': grade_summary,
'staff_access': staff_access, 'staff_access': staff_access,
'student': student,
} }
context.update() context.update()
......
...@@ -31,7 +31,7 @@ ${progress_graph.body(grade_summary, course.grade_cutoffs, "grade-detail-graph", ...@@ -31,7 +31,7 @@ ${progress_graph.body(grade_summary, course.grade_cutoffs, "grade-detail-graph",
<section class="course-info"> <section class="course-info">
<header> <header>
<h1>Course Progress</h1> <h1>Course Progress for Student '${student.username}' (${student.email})</h1>
</header> </header>
%if not course.disable_progress_graph: %if not course.disable_progress_graph:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment