#disable_html_escaping() #if ($worklog) #if ($textutils.stringSet($worklog.getComment())) #if ($worklogAdded) #if ($worklog.comment.contains("")) #set ($htmlWorklog = $worklog.comment) #else #set ($htmlWorklog = $worklogCommentHtml) #end #elseif ($worklogUpdated && $originalworklog) #if ($originalworklog.comment.contains("") || $worklog.comment.contains("")) #set ($htmlWorklog = $worklog.comment) #else #set ($htmlWorklog = $!diffutils.diff($originalworklog.comment, "background-color: ${auiErrorBackgroundColour}; text-decoration:line-through;", $worklog.comment, "background-color: ${auiSuccessBackgroundColour};")) #end #else #if ($worklog.getComment().contains("")) #set ($htmlWorklog = $worklog.getComment()) #else #set ($htmlWorklog = $textutils.plainTextToHtml($worklog.getComment())) #end #end #set ($worklogTopVisibility = $textutils.innerTrim("#visibilityHtml()")) #if ($textutils.stringSet($worklogTopVisibility)) #set ($topTextContent = "$htmlWorklog $worklogTopVisibility") #else #set ($topTextContent = $htmlWorklog) #end #if ($worklogDeleted) #set ($topTextContent = "
$topTextContent
") #else #set ($topTextContent = "$topTextContent
") #end #parse('templates/email/html/includes/patterns/text-top.vm') #end #end