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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7691c1d9
Commit
7691c1d9
authored
Feb 12, 2018
by
Onuwa Nnachi Isaac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert and remove header_title line from labels issue
parent
f7401f70
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-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
+0
-1
changelogs/unreleased/group-label-page-breadcrumb.yml
changelogs/unreleased/group-label-page-breadcrumb.yml
+5
-0
No files found.
app/helpers/groups_helper.rb
View file @
7691c1d9
...
@@ -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
...
...
app/views/groups/labels/new.html.haml
View file @
7691c1d9
-
breadcrumb_title
"Labels"
-
breadcrumb_title
"Labels"
-
page_title
'New Label'
-
page_title
'New Label'
-
header_title
group_title
(
@group
,
''
,
group_labels_path
(
@group
))
%h3
.page-title
%h3
.page-title
New Label
New Label
...
...
changelogs/unreleased/group-label-page-breadcrumb.yml
0 → 100644
View file @
7691c1d9
---
title
:
Fix breadcrumb on labels page for groups
merge_request
:
17045
author
:
Onuwa Nnachi Isaac
type
:
fixed
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