From 3519ea6b2fcdc2247640b92309ff13492770fa76 Mon Sep 17 00:00:00 2001 From: kimth Date: Wed, 15 Aug 2012 17:14:27 -0400 Subject: [PATCH] Don't display 'None points' on problem rendering --- lms/templates/problem.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/problem.html b/lms/templates/problem.html index 6363274d24..ed49b3bd5d 100644 --- a/lms/templates/problem.html +++ b/lms/templates/problem.html @@ -1,7 +1,7 @@ <%namespace name='static' file='static_content.html'/>

${ problem['name'] } - % if problem['weight'] != 1: + % if problem['weight'] != 1 and problem['weight'] != None: : ${ problem['weight'] } points % endif