Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##disable_html_escaping() TODO REENABLE
- #customControlHeader ($action $field.id $i18n.getText($field.nameKey) $fieldLayoutItem.required $displayParameters $auiparams)
- ## setup some additional parameters
- $!rendererParams.put("class", "long-field")
- $!rendererParams.put("rows", "12")
- $!rendererParams.put("wrap", "virtual")
- #if($description == '')
- #set ($description = "*Initial behaviour:*\
- --------------------------------------------------------------\
- \
- --------------------------------------------------------------\
- \
- *Real behaviour:*\
- --------------------------------------------------------------\
- \
- --------------------------------------------------------------\
- \
- *Expected behaviour:*\
- --------------------------------------------------------------\
- \
- --------------------------------------------------------------\
- \
- *Comment:*\
- --------------------------------------------------------------\
- \
- --------------------------------------------------------------")
- #set ($description = $description.replace('\',' '))
- #end
- #if ($mentionable)
- $!rendererParams.put("mentionable", true)
- #if ($issue.project.key && $issue.project.key != "")
- $!rendererParams.put("data-projectkey", "$!issue.project.key")
- #end
- #if ($issue.key && $issue.key != "")
- $!rendererParams.put("data-issuekey", "$!issue.key")
- #end
- #end
- ## let the renderer display the edit component
- $rendererDescriptor.getEditVM($!description, $!issue.key, $!fieldLayoutItem.rendererType, $!field.id, $field.name, $rendererParams, false)
- #customControlFooter ($action $field.id $fieldLayoutItem.getFieldDescription() $displayParameters $auiparams)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement