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
9fcc28d4
Commit
9fcc28d4
authored
Jul 12, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved declaration of `breadcrumb_title` into `page_title` method
`breadcrumb_title` is then overriden when needed
parent
ab6c8935
Changes
28
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
8 additions
and
25 deletions
+8
-25
app/helpers/page_layout_helper.rb
app/helpers/page_layout_helper.rb
+4
-0
app/views/admin/appearances/show.html.haml
app/views/admin/appearances/show.html.haml
+0
-1
app/views/admin/application_settings/show.html.haml
app/views/admin/application_settings/show.html.haml
+0
-1
app/views/admin/applications/edit.html.haml
app/views/admin/applications/edit.html.haml
+2
-0
app/views/admin/applications/new.html.haml
app/views/admin/applications/new.html.haml
+2
-0
app/views/admin/hooks/index.html.haml
app/views/admin/hooks/index.html.haml
+0
-1
app/views/admin/services/index.html.haml
app/views/admin/services/index.html.haml
+0
-1
app/views/dashboard/activity.html.haml
app/views/dashboard/activity.html.haml
+0
-1
app/views/dashboard/issues.html.haml
app/views/dashboard/issues.html.haml
+0
-1
app/views/dashboard/merge_requests.html.haml
app/views/dashboard/merge_requests.html.haml
+0
-1
app/views/dashboard/projects/index.html.haml
app/views/dashboard/projects/index.html.haml
+0
-1
app/views/groups/activity.html.haml
app/views/groups/activity.html.haml
+0
-1
app/views/groups/edit.html.haml
app/views/groups/edit.html.haml
+0
-1
app/views/groups/group_members/index.html.haml
app/views/groups/group_members/index.html.haml
+0
-1
app/views/groups/issues.html.haml
app/views/groups/issues.html.haml
+0
-1
app/views/groups/merge_requests.html.haml
app/views/groups/merge_requests.html.haml
+0
-1
app/views/profiles/accounts/show.html.haml
app/views/profiles/accounts/show.html.haml
+0
-1
app/views/profiles/audit_log.html.haml
app/views/profiles/audit_log.html.haml
+0
-1
app/views/profiles/two_factor_auths/show.html.haml
app/views/profiles/two_factor_auths/show.html.haml
+0
-1
app/views/projects/activity.html.haml
app/views/projects/activity.html.haml
+0
-1
app/views/projects/boards/_show.html.haml
app/views/projects/boards/_show.html.haml
+0
-1
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+0
-1
app/views/projects/graphs/charts.html.haml
app/views/projects/graphs/charts.html.haml
+0
-1
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+0
-1
app/views/projects/network/show.html.haml
app/views/projects/network/show.html.haml
+0
-1
app/views/projects/pipelines/charts.html.haml
app/views/projects/pipelines/charts.html.haml
+0
-1
app/views/projects/project_members/index.html.haml
app/views/projects/project_members/index.html.haml
+0
-1
app/views/projects/settings/ci_cd/show.html.haml
app/views/projects/settings/ci_cd/show.html.haml
+0
-1
No files found.
app/helpers/page_layout_helper.rb
View file @
9fcc28d4
...
@@ -4,6 +4,10 @@ module PageLayoutHelper
...
@@ -4,6 +4,10 @@ module PageLayoutHelper
@page_title
.
push
(
*
titles
.
compact
)
if
titles
.
any?
@page_title
.
push
(
*
titles
.
compact
)
if
titles
.
any?
if
show_new_nav?
&&
titles
.
any?
&&
!
defined?
(
@breadcrumb_title
)
@breadcrumb_title
=
@page_title
.
first
end
# Segments are seperated by middot
# Segments are seperated by middot
@page_title
.
join
(
"
\u
00b7 "
)
@page_title
.
join
(
"
\u
00b7 "
)
end
end
...
...
app/views/admin/appearances/show.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Appearance"
-
page_title
"Appearance"
-
page_title
"Appearance"
%h3
.page-title
%h3
.page-title
...
...
app/views/admin/application_settings/show.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Settings"
-
page_title
"Settings"
-
page_title
"Settings"
%h3
.page-title
Settings
%h3
.page-title
Settings
...
...
app/views/admin/applications/edit.html.haml
View file @
9fcc28d4
-
page_title
"Edit"
,
@application
.
name
,
"Applications"
-
page_title
"Edit"
,
@application
.
name
,
"Applications"
-
@breadcrumb_title
=
"Applications"
%h3
.page-title
Edit application
%h3
.page-title
Edit application
-
@url
=
admin_application_path
(
@application
)
-
@url
=
admin_application_path
(
@application
)
=
render
'form'
,
application:
@application
=
render
'form'
,
application:
@application
app/views/admin/applications/new.html.haml
View file @
9fcc28d4
-
page_title
"New Application"
-
page_title
"New Application"
-
@breadcrumb_title
=
"Applications"
%h3
.page-title
New application
%h3
.page-title
New application
-
@url
=
admin_applications_path
-
@url
=
admin_applications_path
=
render
'form'
,
application:
@application
=
render
'form'
,
application:
@application
app/views/admin/hooks/index.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"System Hooks"
-
page_title
'System Hooks'
-
page_title
'System Hooks'
%h3
.page-title
%h3
.page-title
System hooks
System hooks
...
...
app/views/admin/services/index.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Service Templates"
-
page_title
"Service Templates"
-
page_title
"Service Templates"
%h3
.page-title
Service templates
%h3
.page-title
Service templates
%p
.light
Service template allows you to set default values for project services
%p
.light
Service template allows you to set default values for project services
...
...
app/views/dashboard/activity.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Activity"
-
@hide_top_links
=
true
-
@hide_top_links
=
true
-
@no_container
=
true
-
@no_container
=
true
...
...
app/views/dashboard/issues.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Issues"
-
@hide_top_links
=
true
-
@hide_top_links
=
true
-
page_title
"Issues"
-
page_title
"Issues"
-
header_title
"Issues"
,
issues_dashboard_path
(
assignee_id:
current_user
.
id
)
-
header_title
"Issues"
,
issues_dashboard_path
(
assignee_id:
current_user
.
id
)
...
...
app/views/dashboard/merge_requests.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Merge Requests"
-
@hide_top_links
=
true
-
@hide_top_links
=
true
-
page_title
"Merge Requests"
-
page_title
"Merge Requests"
-
header_title
"Merge Requests"
,
merge_requests_dashboard_path
(
assignee_id:
current_user
.
id
)
-
header_title
"Merge Requests"
,
merge_requests_dashboard_path
(
assignee_id:
current_user
.
id
)
...
...
app/views/dashboard/projects/index.html.haml
View file @
9fcc28d4
-
@no_container
=
true
-
@no_container
=
true
-
@hide_top_links
=
true
-
@hide_top_links
=
true
-
@breadcrumb_title
=
"Projects"
=
content_for
:meta_tags
do
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
dashboard_projects_url
(
rss_url_options
),
title:
"All activity"
)
=
auto_discovery_link_tag
(
:atom
,
dashboard_projects_url
(
rss_url_options
),
title:
"All activity"
)
...
...
app/views/groups/activity.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Activity"
=
content_for
:meta_tags
do
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
group_url
(
@group
,
rss_url_options
),
title:
"
#{
@group
.
name
}
activity"
)
=
auto_discovery_link_tag
(
:atom
,
group_url
(
@group
,
rss_url_options
),
title:
"
#{
@group
.
name
}
activity"
)
...
...
app/views/groups/edit.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Settings"
=
render
"groups/settings_head"
=
render
"groups/settings_head"
.panel.panel-default.prepend-top-default
.panel.panel-default.prepend-top-default
.panel-heading
.panel-heading
...
...
app/views/groups/group_members/index.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Members"
-
page_title
"Members"
-
page_title
"Members"
.project-members-page.prepend-top-default
.project-members-page.prepend-top-default
...
...
app/views/groups/issues.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Issues"
-
page_title
"Issues"
-
page_title
"Issues"
-
group_issues_exists
=
group_issues
(
@group
).
exists?
-
group_issues_exists
=
group_issues
(
@group
).
exists?
=
render
"head_issues"
=
render
"head_issues"
...
...
app/views/groups/merge_requests.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Merge Requests"
-
page_title
"Merge Requests"
-
page_title
"Merge Requests"
-
if
show_new_nav?
&&
current_user
-
if
show_new_nav?
&&
current_user
...
...
app/views/profiles/accounts/show.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Account"
-
page_title
"Account"
-
page_title
"Account"
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@content_class
=
"limit-container-width"
unless
fluid_layout
=
render
'profiles/head'
=
render
'profiles/head'
...
...
app/views/profiles/audit_log.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Authentication log"
-
page_title
"Authentication log"
-
page_title
"Authentication log"
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@content_class
=
"limit-container-width"
unless
fluid_layout
=
render
'profiles/head'
=
render
'profiles/head'
...
...
app/views/profiles/two_factor_auths/show.html.haml
View file @
9fcc28d4
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
-
add_to_breadcrumbs
(
"Account"
,
profile_account_path
)
-
add_to_breadcrumbs
(
"Account"
,
profile_account_path
)
-
else
-
else
-
header_title
"Two-Factor Authentication"
,
profile_two_factor_auth_path
-
header_title
"Two-Factor Authentication"
,
profile_two_factor_auth_path
-
@breadcrumb_title
=
"Two-Factor Authentication"
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@content_class
=
"limit-container-width"
unless
fluid_layout
=
render
'profiles/head'
=
render
'profiles/head'
...
...
app/views/projects/activity.html.haml
View file @
9fcc28d4
-
@no_container
=
true
-
@no_container
=
true
-
@breadcrumb_title
=
"Activity"
-
if
show_new_nav?
-
if
show_new_nav?
-
add_to_breadcrumbs
(
"Project"
,
project_path
(
@project
))
-
add_to_breadcrumbs
(
"Project"
,
project_path
(
@project
))
...
...
app/views/projects/boards/_show.html.haml
View file @
9fcc28d4
-
@no_container
=
true
-
@no_container
=
true
-
@content_class
=
"issue-boards-content"
-
@content_class
=
"issue-boards-content"
-
@breadcrumb_title
=
"Board"
-
page_title
"Boards"
-
page_title
"Boards"
-
if
show_new_nav?
-
if
show_new_nav?
...
...
app/views/projects/edit.html.haml
View file @
9fcc28d4
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@breadcrumb_title
=
"Settings"
=
render
"projects/settings/head"
=
render
"projects/settings/head"
.project-edit-container
.project-edit-container
...
...
app/views/projects/graphs/charts.html.haml
View file @
9fcc28d4
-
@no_container
=
true
-
@no_container
=
true
-
@breadcrumb_title
=
"Charts"
-
page_title
"Charts"
-
page_title
"Charts"
-
if
show_new_nav?
-
if
show_new_nav?
-
add_to_breadcrumbs
(
"Repository"
,
project_tree_path
(
@project
))
-
add_to_breadcrumbs
(
"Repository"
,
project_tree_path
(
@project
))
...
...
app/views/projects/graphs/show.html.haml
View file @
9fcc28d4
-
@no_container
=
true
-
@no_container
=
true
-
@breadcrumb_title
=
"Contributors"
-
page_title
"Contributors"
-
page_title
"Contributors"
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_d3'
)
=
page_specific_javascript_bundle_tag
(
'common_d3'
)
...
...
app/views/projects/network/show.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Graph"
-
page_title
"Graph"
,
@ref
-
page_title
"Graph"
,
@ref
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'network'
)
=
page_specific_javascript_bundle_tag
(
'network'
)
...
...
app/views/projects/pipelines/charts.html.haml
View file @
9fcc28d4
-
@no_container
=
true
-
@no_container
=
true
-
@breadcrumb_title
=
"Charts"
-
page_title
_
(
"Charts"
),
_
(
"Pipelines"
)
-
page_title
_
(
"Charts"
),
_
(
"Pipelines"
)
-
if
show_new_nav?
-
if
show_new_nav?
-
add_to_breadcrumbs
(
"Pipelines"
,
project_pipelines_path
(
@project
))
-
add_to_breadcrumbs
(
"Pipelines"
,
project_pipelines_path
(
@project
))
...
...
app/views/projects/project_members/index.html.haml
View file @
9fcc28d4
-
@breadcrumb_title
=
"Members"
-
page_title
"Members"
-
page_title
"Members"
-
if
show_new_nav?
-
if
show_new_nav?
...
...
app/views/projects/settings/ci_cd/show.html.haml
View file @
9fcc28d4
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@breadcrumb_title
=
"Pipelines"
-
page_title
"Pipelines"
-
page_title
"Pipelines"
-
if
show_new_nav?
-
if
show_new_nav?
...
...
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