From d3e7739b3b4b2f2ea72539148c9c082ac66d0a2b Mon Sep 17 00:00:00 2001 From: Brian Wilson Date: Thu, 4 Apr 2013 12:03:08 -0400 Subject: [PATCH] add user name and email to progress page --- lms/djangoapps/courseware/views.py | 1 + lms/templates/courseware/progress.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/views.py b/lms/djangoapps/courseware/views.py index b2b0874786..ae15b40d26 100644 --- a/lms/djangoapps/courseware/views.py +++ b/lms/djangoapps/courseware/views.py @@ -630,6 +630,7 @@ def progress(request, course_id, student_id=None): 'courseware_summary': courseware_summary, 'grade_summary': grade_summary, 'staff_access': staff_access, + 'student': student, } context.update() diff --git a/lms/templates/courseware/progress.html b/lms/templates/courseware/progress.html index f94e7651f0..9e2a2e5982 100644 --- a/lms/templates/courseware/progress.html +++ b/lms/templates/courseware/progress.html @@ -31,7 +31,7 @@ ${progress_graph.body(grade_summary, course.grade_cutoffs, "grade-detail-graph",
-

Course Progress

+

Course Progress for Student '${student.username}' (${student.email})

%if not course.disable_progress_graph: