Advertisement
Guest User

JIRA description-edit.vm

a guest
Jul 11th, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. ##disable_html_escaping() TODO REENABLE
  2. #customControlHeader ($action $field.id $i18n.getText($field.nameKey) $fieldLayoutItem.required $displayParameters $auiparams)
  3. ## setup some additional parameters
  4. $!rendererParams.put("class", "long-field")
  5. $!rendererParams.put("rows", "12")
  6. $!rendererParams.put("wrap", "virtual")
  7.  
  8.  
  9. #if($description == '')
  10. #set ($description = "*Initial behaviour:*\
  11. --------------------------------------------------------------\
  12. \
  13. --------------------------------------------------------------\
  14. \
  15. *Real behaviour:*\
  16. --------------------------------------------------------------\
  17. \
  18. --------------------------------------------------------------\
  19. \
  20. *Expected behaviour:*\
  21. --------------------------------------------------------------\
  22. \
  23. --------------------------------------------------------------\
  24. \
  25. *Comment:*\
  26. --------------------------------------------------------------\
  27. \
  28. --------------------------------------------------------------")
  29. #set ($description = $description.replace('\',' '))
  30. #end
  31.  
  32.  
  33. #if ($mentionable)
  34. $!rendererParams.put("mentionable", true)
  35. #if ($issue.project.key && $issue.project.key != "")
  36. $!rendererParams.put("data-projectkey", "$!issue.project.key")
  37. #end
  38. #if ($issue.key && $issue.key != "")
  39. $!rendererParams.put("data-issuekey", "$!issue.key")
  40. #end
  41. #end
  42. ## let the renderer display the edit component
  43. $rendererDescriptor.getEditVM($!description, $!issue.key, $!fieldLayoutItem.rendererType, $!field.id, $field.name, $rendererParams, false)
  44. #customControlFooter ($action $field.id $fieldLayoutItem.getFieldDescription() $displayParameters $auiparams)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement