Render document URLs with the already defined Document.get_absolute_url method instead of inline.
Merge pull request #2385 from jezdez/document-url-rendering

Render document URLs with the already defined Document.get_absolute_url method