Project labels page does not show a link for Epics per label
Summary
On the project's labels page for an Ultimate/Gold tier user, a link for Epics should appear per label next to the links for Issues and Merge requests.
Steps to reproduce
- Create a group.
- Create a project within the group.
- The group/project/user should fall under the Ultimate/Gold tier. (I'm sorry - I'm not fully clear on the specifics of how to set this up.)
- Create a group label.
- View the project's labels page.
Example Project
This can be seen on the GitLab CE project. https://gitlab.com/gitlab-org/gitlab-ce/labels
What is the current bug behavior?
The label appears on the page, but there is not a link to view the applicable Epics the label has been added to.
What is the expected correct behavior?
The label appears on the page, and includes a link to view the applicable Epics the label has been added to.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
n/a
Results of GitLab application Check
n/a
Possible fixes
On https://gitlab.com/gitlab-org/gitlab-ee/blob/master/app/views/shared/_label_row.html.haml#L3
It looks like
- show_label_epics_link = defined?(@group) && @group&.feature_available?(:epics)
Should be
- show_label_epics_link = @group&.feature_available?(:epics)
