#if ($taggable) #if (!$activityHelpers.isEmpty()) $tlang.getString("viewassig.viewass1") #if ($alertMessage)
$tlang.getString("gen.alert") $validator.escapeHtml($alertMessage)
#end #if ($allowAddAssignment && !$hideAssignmentFlag) ## show assignment content

$tlang.getString( $tlang.getString("gen.settfor") "$validator.escapeHtml($assignment.title)"

#set ($closeDate = $assignment.getCloseTime()) #if ($!closeDate) ##show alert when assignment is modified and the modified date is after its open date #set($alertTimeLastModified=false) #set($newAssignment="false") #set($newAssignment=$assignment.getProperties().getProperty("newAssignment")) #if ($assignment.getTimeLastModified().after($assignment.getOpenTime()) && !$!newAssignment.equalsIgnoreCase("true")) #set($alertTimeLastModified=true) #end #end #set ($scheduled = $assignment.getProperties().getProperty($assignment.getProperties().getNamePropNewAssignmentCheckAddDueDate())) #if ($scheduled) #end
$tlang.getString("gen.creby") $!creator
$tlang.getString("viewassig.datcre") $assignment.TimeCreated.toStringLocalFull()
$tlang.getString("gen.open2") $assignment.OpenTime.toStringLocalFull()
$tlang.getString("gen.due2") $assignment.DueTime.toStringLocalFull()
$tlang.getString("gen.acesubunt") $assignment.CloseTime.toStringLocalFull()
$tlang.getString("gen.modbyins") $assignment.TimeLastModified.toStringLocalFull()
$tlang.getString("gen.stusub2") $submissionTypeTable.get($assignment.getContent().getTypeOfSubmission())
$tlang.getString("gen.gra3") #set ($gradeScale = $assignment.getContent().getTypeOfGradeString($assignment.getContent().getTypeOfGrade())) $gradeScale #if ($gradeTypeTable.get($assignment.getContent().getTypeOfGrade()) == $!tlang.getString("points")) (($tlang.getString("grade.max") $assignment.getContent().getMaxGradePointDisplay()) #end
$tlang.getString("gen.addduedat") #if ($!scheduled == "true") $tlang.getString("gen.yes") #else $tlang.getString("gen.no") #end
$tlang.getString("gen.alert") #set ($announced = $assignment.getProperties().getProperty($assignment.getProperties().getNamePropNewAssignmentCheckAutoAnnounce())) #if ($!announced == "true") $tlang.getString("gen.yes") #else $tlang.getString("gen.no") #end
$tlang.getString("gen.honple") #if ($assignment.getContent().HonorPledge == 1) $tlang.getString("gen.no") #else $tlang.getString("gen.yes") #end

$tlang.getString("gen.assinf")

#if ($assignment.getContent().getInstructions().length()==0) <none> #else $validator.escapeHtmlFormattedText($assignment.getContent().getInstructions()) #end
#set ($size = 0) #set ($props = false) #foreach ($attachment in $assignment.getContent().getAttachments()) #set ($props = $attachment.Properties) #if ($!props) #set ($size = $size + 1) #end #end #if ($size == 0) ## $tlang.getString("gen.noatt") #else

$tlang.getString("gen.addres2")

#end #if ($taggable) #parse ("/vm/assignment/chef_assignments_tags_list.vm") #end #elseif ($allowAddAssignment && $hideAssignmentFlag) ## hide the assignment content

$tlang.getString( $tlang.getString("gen.settfor") "$validator.escapeHtml($assignment.title)"

#end ## student view
#if (!$hideStudentViewFlag)

$tlang.getString( $tlang.getString("gen.stuvieof") "$assignment.title"

##show alert when assignment is modified and the modified date is after its open date #if($!alertTimeLastModified) #end
$tlang.getString("gen.due2") $!assignment.getDueTime().toStringLocalFull()
$tlang.getString("gen.status2") #if ($!submission) #if ($submission.getSubmitted()) #if ($submission.returned) #if ($submission.TimeReturned.before($submission.TimeSubmitted)) $tlang.getString("gen.retu") $submission.TimeReturned.toStringLocalFull() #else Re-submitted $submission.TimeSubmitted.toStringLocalFull() #if ($submission.getTimeSubmitted().after($assignment.DueTime)) $tlang.getString("gen.late") #end #end #elseif ($submission.getGraded() && $submission.getGradeReleased()) $tlang.getString("gen.gra3") #else $tlang.getString("gen.subm4") $submission.timeSubmitted.toStringLocalFull() #if ($submission.getTimeSubmitted().after($assignment.DueTime)) $tlang.getString("gen.late2") #end #end #else $tlang.getString("gen.inpro") #end #else $tlang.getString("gen.notsta") #end
$tlang.getString("gen.grasca"): #set ($gradeScale = $assignment.getContent().getTypeOfGradeString($assignment.getContent().getTypeOfGrade())) $gradeScale #if ($gradeTypeTable.get($assignment.getContent().getTypeOfGrade()) == $!tlang.getString("points")) (($tlang.getString("grade.max") $assignment.getContent().getMaxGradePointDisplay()) #end
$tlang.getString("gen.modbyins") $assignment.getTimeLastModified().toStringLocalFull()

$tlang.getString("gen.assinf")

#if ($!assignment.getContent().getInstructions().length()>0)
$validator.escapeHtmlFormattedText($!assignment.getContent().getInstructions())
#end #set ($size = 0) #set ($props = false) #foreach ($attachment in $assignment.getContent().getAttachments()) #set ($props = $attachment.Properties) #if ($!props) #set ($size = $size + 1) #end #end #if ($size == 0) ## $tlang.getString("gen.noatt") #else

$tlang.getString("gen.addres2")

    #foreach ($attachment in $assignment.getContent().getAttachments()) #set ($props = false) #set ($props = $attachment.Properties) #if ($!props)
  • #if ($props.getBooleanProperty($props.NamePropIsCollection)) $tlang.getString( #else $tlang.getString( #end $validator.escapeHtml($props.getPropertyFormatted($props.NamePropDisplayName)) #if (!$props.getBooleanProperty($props.NamePropIsCollection)) ($props.getPropertyFormatted($props.NamePropContentLength)) #end
  • #end #end
#end

$tlang.getString("gen.submission")

## 1- text only; 2-attachment only; 3-text and attachment #set ( $submissionType = $assignment.getContent().getTypeOfSubmission()) #if (($submissionType==1) || ($submissionType==3))

#if ($submissionType==1) $tlang.getString("viewassig.theassall5") #elseif ($submissionType==3) $tlang.getString("viewassig.theassall1") #end


#end #if (($submissionType==2) || ($submissionType==3)) #if ($submissionType==2) $tlang.getString("viewassig.theassall3") #end

$tlang.getString("gen.att")

$tlang.getString("gen.noatt")

#end ## if honor pledge is required #if ($assignment.getContent().HonorPledge != 1)


$tlang.getString("gen.youmus")

#end
#else

$tlang.getString( $tlang.getString("gen.stuvieof") "$assignment.title"

#end

#if ($assignment.Draft) #else #end