summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOnuwa Nnachi Isaac <matrix4u2002@gmail.com>2018-02-09 20:05:51 +0100
committerOnuwa Nnachi Isaac <matrix4u2002@gmail.com>2018-02-09 20:05:51 +0100
commitf7401f70734446d082ba815477ae11a31fe7524b (patch)
tree2986cbfa3a4b6c38bd6af935eee0533b80f9685d
parent9b7534cc2dff55a69dc836a8cb5990ad6ec51c7a (diff)
downloadgitlab-ce-f7401f70734446d082ba815477ae11a31fe7524b.tar.gz
Fix breadcrumb on labels page for groups
-rw-r--r--app/helpers/groups_helper.rb2
-rw-r--r--app/views/groups/labels/new.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb
index 23de3590b93..d248c556234 100644
--- a/app/helpers/groups_helper.rb
+++ b/app/helpers/groups_helper.rb
@@ -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 += ' &middot; '.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
diff --git a/app/views/groups/labels/new.html.haml b/app/views/groups/labels/new.html.haml
index ae240490bbd..934ebe11c73 100644
--- a/app/views/groups/labels/new.html.haml
+++ b/app/views/groups/labels/new.html.haml
@@ -1,6 +1,6 @@
- breadcrumb_title "Labels"
- 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
New Label