Commit f7401f70 authored by Onuwa Nnachi Isaac's avatar Onuwa Nnachi Isaac

Fix breadcrumb on labels page for groups

parent 9b7534cc
...@@ -39,7 +39,7 @@ module GroupsHelper ...@@ -39,7 +39,7 @@ module GroupsHelper
full_title += render "layouts/nav/breadcrumbs/collapsed_dropdown", location: :before, title: _("Show parent subgroups") 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 += 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 full_title.html_safe
end end
......
- breadcrumb_title "Labels" - breadcrumb_title "Labels"
- page_title 'New Label' - page_title 'New Label'
- header_title group_title(@group, 'Labels', group_labels_path(@group)) - header_title group_title(@group, '', group_labels_path(@group))
%h3.page-title %h3.page-title
New Label New Label
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment