Fix some issues with displaying grader info on rubric
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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']}
|
||||
|
||||
Reference in New Issue
Block a user