From 0936f448fc97acfdc1e73b30e942e26c86c37c3d Mon Sep 17 00:00:00 2001 From: ichuang Date: Tue, 5 Feb 2013 13:26:49 +0000 Subject: [PATCH] add disable_progress_graph key to course metadata --- lms/templates/courseware/progress.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lms/templates/courseware/progress.html b/lms/templates/courseware/progress.html index fb163d112d..9b52ff2069 100644 --- a/lms/templates/courseware/progress.html +++ b/lms/templates/courseware/progress.html @@ -32,7 +32,9 @@ ${progress_graph.body(grade_summary, course.grade_cutoffs, "grade-detail-graph",

Course Progress

-
+ %if not course.metadata.get('disable_progress_graph',False): +
+ %endif
    %for chapter in courseware_summary: