Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
f7401f70
Commit
f7401f70
authored
Feb 09, 2018
by
Onuwa Nnachi Isaac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix breadcrumb on labels page for groups
parent
9b7534cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/helpers/groups_helper.rb
app/helpers/groups_helper.rb
+1
-1
app/views/groups/labels/new.html.haml
app/views/groups/labels/new.html.haml
+1
-1
No files found.
app/helpers/groups_helper.rb
View file @
f7401f70
...
...
@@ -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
...
...
app/views/groups/labels/new.html.haml
View file @
f7401f70
-
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment