Add block which can be used if 'relative_url_root' is configured

[Work Package #8421](https://www.openproject.org/work_packages/8421)