Add links to associated release(s) to the milestone detail page sidebar

What does this MR do?

Adds links to the associated release(s) to the milestone detail page as described in #29020 (closed):

image

These links only appear if the milestone is a project milestone. Group milestones cannot be associated with a release (since releases are directly tied to a git tag), so this section is not rendered for group milestones.

Screenshots

No associated release:

Sidebar expanded:

image

Sidebar collapsed:

image

One associated release:

Sidebar expanded:

Screen_Shot_2019-09-19_at_2.49.20_PM

Sidebar collapsed:

image

Multiple associated releases:

Sidebar expanded:

Screen_Shot_2019-10-11_at_1.34.55_PM

Sidebar collapsed:

Screen_Shot_2019-10-11_at_1.35.53_PM

Edited by Nathan Friend

Merge request reports

Loading