Use relative paths for opening and closing issuables

Merged Bob Van Landuyt requested to merge bvl-fix-close-issuable-link into master

What does this MR do?

This makes sure the Open/Close button on an issuable page uses a relative URL.

This avoids problems when gitlab is used behind a proxy and the URL specified in gitlab.rb isn't the one used to access gitlab.

As documented by @stwink86 in #35822 (closed)

Why was this MR needed?

To avoid issues CSRF issues when gitlab is used behind a proxy.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #35822 (closed)

Edited by Rémy Coutable