Fix some issues with displaying grader info on rubric

This commit is contained in:
Vik Paruchuri
2013-02-07 17:28:31 -05:00
parent 41d35632f3
commit 7bf0532a04
3 changed files with 4 additions and 4 deletions

View File

@@ -448,7 +448,7 @@ class CombinedOpenEndedV1Module():
elif task_type== "selfassessment":
rubric_scores = last_post_assessment
grader_types = ['SA']
feedback_items = []
feedback_items = ['']
last_post_assessment = ""
last_correctness = task.is_last_response_correct()
max_score = task.max_score()

View File

@@ -32,7 +32,7 @@ class CombinedOpenEndedRubric(object):
rubric_scores = [cat['score'] for cat in rubric_categories]
max_scores = map((lambda cat: cat['options'][-1]['points']), rubric_categories)
max_score = max(max_scores)
html = self.system.render_template('open_ended_rubric.html',
html = self.system.render_template('open_ended_rubric.html',
{'categories': rubric_categories,
'has_score': self.has_score,
'view_only': self.view_only,

View File

@@ -25,9 +25,9 @@
<div class="rubric-label">
${option['points']} points : ${option['text']}
</div>
% elif combined_rubric == True
% elif combined_rubric == True:
<div class="rubric-label">
%for grader_type in option['grader_types']
%for grader_type in option['grader_types']:
${grader_type}
%endfor
${option['points']} points : ${option['text']}