diff --git a/common/lib/xmodule/xmodule/peer_grading_module.py b/common/lib/xmodule/xmodule/peer_grading_module.py index ce82da3bef..f91b4d02f9 100644 --- a/common/lib/xmodule/xmodule/peer_grading_module.py +++ b/common/lib/xmodule/xmodule/peer_grading_module.py @@ -20,7 +20,7 @@ import copy import itertools import json import logging -import datetime.datetime +from datetime import datetime from lxml.html import rewrite_links import os from pkg_resources import resource_string @@ -425,7 +425,7 @@ class PeerGradingModule(XModule): Show the Peer grading closed template ''' html = self.system.render_template('peer_grading/peer_grading_closed.html', { - 'use_for_single_location': self.use_single_location + 'use_for_single_location': self.use_for_single_location }) return html diff --git a/lms/templates/peer_grading/peer_grading_closed.html b/lms/templates/peer_grading/peer_grading_closed.html index 85a0a6d490..97d08e64db 100644 --- a/lms/templates/peer_grading/peer_grading_closed.html +++ b/lms/templates/peer_grading/peer_grading_closed.html @@ -1,4 +1,5 @@
+

Peer Grading

% if use_for_single_location:

Peer grading for this problem is closed at this time.

%else: