editable description

[``* `#16988` editable description``](http://community.openproject.org/work_packages/16988)
Inner functions should be listed at the top of the outer function.