#navBarOnClick( $allowAddAssignment $withGrade $allowGradeSubmission $allowAddAssignment $allowRecoverAssignment $allowAllGroups $assignmentscheck $allowUpdateSite $enableViewOption $view "gradeForm" "" ) ## confirmation #if ($!gradingDone)
#if($view_only) #if($itemRemoved) $!tlang.getString("peerassessment.removed") #else $!tlang.getString("peerassessment.restored") #end #else #if($gradingSubmit) $!tlang.getString("peerAssessmentSavedSubmission") #else $!tlang.getString("peerAssessmentSavedGrading") #end #end
#end #if ($alertMessage)
$tlang.getString("gen.alert") $alertMessage
#end ## the form
## show or hide assignment instruction and attachment

$tlang.getString( $tlang.getString("gen.assinf")

#supplementItems($!allowViewModelAnswer $!allowReadAssignmentNoteItem $!allowViewAllPurposeItem $!assignmentModelAnswerItem $!assignmentNoteItem $!assignmentAllPurposeItem) #if($!peerAssessmentInstructions.length() > 0)

$tlang.getString("peerassessment.instructions.reviewer")


$!peerAssessmentInstructions
#end

$tlang.getString("gen.subm")

#if ($value_feedback_text && !$value_feedback_text.isEmpty())
$value_feedback_text
#else

$tlang.getString("gradingsub.nosubmittedtext")

#end ## for returned submission, show the instructor comment as well #if ($!prevFeedbackText)
$cheffeedbackhelper.escapeAssignmentFeedback($!prevFeedbackText)
#end ## submitted attachment #if ($submissionType!=1 && $submissionType!=4) ## do not show attach messages if no attach are allowed...

$tlang.getString("gen.stuatt")

#set ($attachments = $submission.Attachments) #if ($attachments) #set ($size = $submissionAttachmentReferences.size()) #if ($size == 0)

$tlang.getString("gen.noattsubmitted")

#else #end #end #end #if ($withGrade)
#set ($gradeType = $assignment.TypeOfGrade.ordinal())

#if($view_only) #if($!display_grade.length() > 0) $!display_grade #else $tlang.getString("peerassessment.noscore") #end #else #end ($tlang.getString("grade.max") $!service.getMaxPointGradeDisplay($!assignment.ScaleFactor, $!assignment.MaxGradePoint))

#end

$tlang.getString("peerassessment.reviewerComments")

#if(!$view_only)

#if ($submissionType==2) $tlang.getString("gradingsub.usethebel2") #else $tlang.getString("gradingsub.usethebel1") #end #if($assignment.getPeerAssessmentAnonEval())

 $tlang.getString("grading.reminder.anon")
#end

#end
#if(!$view_only) #set($contextkey = "ckeditor-autosave-context") #set($entitykey = "ckeditor-autosave-entity-id") #set($entityval = "$submissionReference") #chef_setupformattedtextarea($name_feedback_comment) #else #if($!value_feedback_comment && $!value_feedback_comment.length() > 0)
$formattedText.escapeHtmlFormattedText($!value_feedback_comment)
#else $tlang.getString("peerassessment.nocomments") #end #end

$tlang.getString("peerassessment.reviewerAttachments")

#if(!$view_only)

$tlang.getString("gen.att")

#set ($size = 0) #set ($props = false) #foreach ($attachment in $peer_attachments) #set ($props = $attachment.Properties) #if ($!props) #set ($size = $size + 1) #end #end #if ($size == 0)

$tlang.getString("gen.noatt")

#else #foreach ($attachment in $peer_attachments) #set ($props = false) #set ($props = $attachment.Properties) #if ($!props) #end #end
#if ($props.getBooleanProperty($props.NamePropIsCollection)) $tlang.getString( #else $tlang.getString( #end $formattedText.escapeHtml($props.getPropertyFormatted($props.NamePropDisplayName)) #propertyDetails($props) $tlang.getString("stuviewsubm.removeatt") $formattedText.escapeHtml($props.getPropertyFormatted($props.NamePropDisplayName))
#end
#else #if($peer_attachments) #else

$tlang.getString("peerassessment.reviewerNoAttachments")

#end #end