Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
042ae2da
Commit
042ae2da
authored
Feb 06, 2013
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some bugs with the grading module and make
the 'closed' page a little nicer
parent
e8d01a08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
common/lib/xmodule/xmodule/peer_grading_module.py
+2
-2
lms/templates/peer_grading/peer_grading_closed.html
+1
-0
No files found.
common/lib/xmodule/xmodule/peer_grading_module.py
View file @
042ae2da
...
...
@@ -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
...
...
lms/templates/peer_grading/peer_grading_closed.html
View file @
042ae2da
<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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment