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
962d83d7
Commit
962d83d7
authored
Jan 03, 2013
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display a message when there are no problems to grade
parent
bd47b0c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
lms/templates/peer_grading/peer_grading.html
+13
-7
No files found.
lms/templates/peer_grading/peer_grading.html
View file @
962d83d7
...
@@ -21,13 +21,19 @@
...
@@ -21,13 +21,19 @@
<h2>
Instructions
</h2>
<h2>
Instructions
</h2>
<p>
Here are a list of problems that need to be peer graded for this course.
</p>
<p>
Here are a list of problems that need to be peer graded for this course.
</p>
% if success:
% if success:
<ul
class=
"problem-list"
>
% if len(problem_list) == 0:
%for problem in problem_list:
<div
class=
"message-container"
>
<li>
Nothing to grade!
<a
href=
"${ajax_url}/problem/${problem.location}"
>
${problem.location} (${problem.num_graded} graded, ${problem.num_pending} pending)
</a>
</div>
</li>
%else:
%endfor
<ul
class=
"problem-list"
>
</ul>
%for problem in problem_list:
<li>
<a
href=
"${ajax_url}/problem/${problem.location}"
>
${problem.problem_name} (${problem.num_graded} graded, ${problem.num_pending} pending)
</a>
</li>
%endfor
</ul>
%endif
%endif
%endif
</div>
</div>
</section>
</section>
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