From 962d83d71b81f20a85c122ee83afeeb233a989a6 Mon Sep 17 00:00:00 2001 From: Diana Huang Date: Thu, 3 Jan 2013 13:00:02 -0500 Subject: [PATCH] Display a message when there are no problems to grade --- lms/templates/peer_grading/peer_grading.html | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/lms/templates/peer_grading/peer_grading.html b/lms/templates/peer_grading/peer_grading.html index 02c69954b7..ee338cecbb 100644 --- a/lms/templates/peer_grading/peer_grading.html +++ b/lms/templates/peer_grading/peer_grading.html @@ -21,13 +21,19 @@

Instructions

Here are a list of problems that need to be peer graded for this course.

% if success: - + % if len(problem_list) == 0: +
+ Nothing to grade! +
+ %else: + + %endif %endif