Commit 042ae2da by Diana Huang

Fix some bugs with the grading module and make

the 'closed' page a little nicer
parent e8d01a08
......@@ -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
......
<section class="container peer-grading-container">
<h2>Peer Grading</h2>
% if use_for_single_location:
<p>Peer grading for this problem is closed at this time.</p>
%else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment