Skip to content

Commit

Permalink
SAK-42343 Fix previous instructor comments not displaying (sakaiproje…
Browse files Browse the repository at this point in the history
  • Loading branch information
ansorgej authored and adrianfish committed Aug 20, 2019
1 parent 3a7c159 commit 3d9ead6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ $(document).ready(function(){
#if ($!prevFeedbackText)
<h4 id="toggleInline" class="toggleAnchor"><img alt="expand" class="expand" src="/library/image/sakai/expand.gif" /><img alt="collapse" class="collapse" src="/library/image/sakai/collapse.gif" />$tlang.getString("gradingsub.prefeetex3")</h4>
<div class="toggledContent inlinecoms">
$cheffeedbackhelper.showPrevFeedback($cheffeedbackhelper.escapeAssignmentFeedback($!prevFeedbackText))
$cheffeedbackhelper.escapeAssignmentFeedback($!prevFeedbackText)
</div>
#end
#*#else
Expand Down Expand Up @@ -903,7 +903,7 @@ $(document).ready(function(){
$tlang.getString("gradingsub.prefee2")
</h4>
<div class="toggledContent gencoms">
$cheffeedbackhelper.showPrevFeedback($cheffeedbackhelper.escapeAssignmentFeedback($!prevFeedbackComment))</div>
$cheffeedbackhelper.escapeAssignmentFeedback($!prevFeedbackComment)</div>
#end
#parse ("/vm/assignment/chef_assignments_student_view_feedback_attachments.vm")
## show previous grading/feedback attachments if any
Expand Down Expand Up @@ -1024,7 +1024,7 @@ $(document).ready(function(){
#if ($!prevFeedbackText)
<h5>$tlang.getString("gradingsub.prefeetex")</h5>
<div class="textPanel">
$cheffeedbackhelper.showPrevFeedback($cheffeedbackhelper.escapeAssignmentFeedback($!prevFeedbackText))
$cheffeedbackhelper.escapeAssignmentFeedback($!prevFeedbackText)
</div>
#end
## submitted attachment
Expand Down Expand Up @@ -1077,7 +1077,7 @@ $(document).ready(function(){
## for returned submission, show the instructor feedback
#if ($!prevFeedbackComment && $!prevFeedbackComment.trim().length() > 0)
<h5>$tlang.getString("gradingsub.prefee")</h5>
<div class="textPanel">$cheffeedbackhelper.showPrevFeedback($cheffeedbackhelper.escapeAssignmentFeedback($!prevFeedbackComment))</div>
<div class="textPanel">$cheffeedbackhelper.escapeAssignmentFeedback($!prevFeedbackComment)</div>
#end
#parse ("/vm/assignment/chef_assignments_student_view_feedback_attachments.vm")
#end
Expand Down

0 comments on commit 3d9ead6

Please sign in to comment.