Merge branch 'brancho/gitlab-ce-Link_to_project_labels_page' into 'master'

Always display Labels section in issuable sidebar, even when the project has no labels

Closes #23472

See merge request gitlab-org/gitlab-ce!18081
This commit is contained in:
Sean McGivern 2018-03-29 14:26:23 +00:00
commit ed3f171323
2 changed files with 6 additions and 1 deletions

View File

@ -84,7 +84,7 @@
= dropdown_content do
.js-due-date-calendar
- if @labels && @labels.any?
- if @labels
- selected_labels = issuable.labels
.block.labels
.sidebar-collapsed-icon.js-sidebar-labels-tooltip{ title: issuable_labels_tooltip(issuable.labels_array), data: { placement: "left", container: "body" } }

View File

@ -0,0 +1,5 @@
---
title: Always display Labels section in issuable sidebar, even when the project has no labels
merge_request: 18081
author: Branka Martinovic
type: fixed