Fixed link to parent WP in the WP table

https://www.openproject.org/work_packages/14707
The behaviour is quite different if you have a work package and if a work package is parent of the current. I think we need a way to diferentiate between them and this seems to be most straight forward way to do it.