opf/openproject — pull request #255 by ulferts (2013-07-17 12:27:40+00:00)
Title: Feature/work package on page diff

The functionality itself is adapted from issue#show.

On the other hand, the diff is no longer rendered with the full url as the
link's href. Using the full url caused problems with selenium tests that
ran into problems with cross domain requests. This could have been fixed
by setting the application's host and protocol setting accordingly.
However, it is much cleaner to use a relative url. So for rendering the
diff inside the application the behaviour was alterd to use relative
url. The full url is now only used where it is absolutely necessary
(pdf, email).

Issue on OP: https://www.openproject.org/issues/1420