Merge pull request #422 from MITx/kimth/sjsu

Don't display 'None points' on problem rendering
This commit is contained in:
Calen Pennington
2012-08-16 07:14:28 -07:00

View File

@@ -1,7 +1,7 @@
<%namespace name='static' file='static_content.html'/>
<h2 class="problem-header">
${ problem['name'] }
% if problem['weight'] != 1:
% if problem['weight'] != 1 and problem['weight'] != None:
: ${ problem['weight'] } points
% endif
</h2>