Revert and remove header_title line from labels issue

This commit is contained in:
Onuwa Nnachi Isaac 2018-02-12 14:14:54 +01:00
parent f7401f7073
commit 7691c1d9dc
3 changed files with 6 additions and 2 deletions

View File

@ -39,7 +39,7 @@ module GroupsHelper
full_title += render "layouts/nav/breadcrumbs/collapsed_dropdown", location: :before, title: _("Show parent subgroups")
full_title += breadcrumb_list_item group_title_link(group)
full_title += ''.html_safe + link_to(simple_sanitize(name), url, class: 'group-path breadcrumb-item-text js-breadcrumb-item-text') if name
full_title += ' · '.html_safe + link_to(simple_sanitize(name), url, class: 'group-path breadcrumb-item-text js-breadcrumb-item-text') if name
full_title.html_safe
end

View File

@ -1,6 +1,5 @@
- breadcrumb_title "Labels"
- page_title 'New Label'
- header_title group_title(@group, '', group_labels_path(@group))
%h3.page-title
New Label

View File

@ -0,0 +1,5 @@
---
title: Fix breadcrumb on labels page for groups
merge_request: 17045
author: Onuwa Nnachi Isaac
type: fixed