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
Léo-Paul Géneau
gitlab-ce
Commits
8e9ae780
Commit
8e9ae780
authored
Jul 07, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename method
parent
59195b98
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
23 additions
and
23 deletions
+23
-23
app/helpers/breadcrumbs_helper.rb
app/helpers/breadcrumbs_helper.rb
+1
-1
app/views/profiles/two_factor_auths/show.html.haml
app/views/profiles/two_factor_auths/show.html.haml
+1
-1
app/views/projects/activity.html.haml
app/views/projects/activity.html.haml
+1
-1
app/views/projects/boards/_show.html.haml
app/views/projects/boards/_show.html.haml
+1
-1
app/views/projects/branches/index.html.haml
app/views/projects/branches/index.html.haml
+1
-1
app/views/projects/commits/show.html.haml
app/views/projects/commits/show.html.haml
+1
-1
app/views/projects/compare/index.html.haml
app/views/projects/compare/index.html.haml
+1
-1
app/views/projects/compare/show.html.haml
app/views/projects/compare/show.html.haml
+1
-1
app/views/projects/cycle_analytics/show.html.haml
app/views/projects/cycle_analytics/show.html.haml
+1
-1
app/views/projects/environments/index.html.haml
app/views/projects/environments/index.html.haml
+1
-1
app/views/projects/graphs/charts.html.haml
app/views/projects/graphs/charts.html.haml
+1
-1
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+1
-1
app/views/projects/jobs/index.html.haml
app/views/projects/jobs/index.html.haml
+1
-1
app/views/projects/network/show.html.haml
app/views/projects/network/show.html.haml
+1
-1
app/views/projects/pipeline_schedules/index.html.haml
app/views/projects/pipeline_schedules/index.html.haml
+1
-1
app/views/projects/pipeline_schedules/new.html.haml
app/views/projects/pipeline_schedules/new.html.haml
+1
-1
app/views/projects/pipelines/charts.html.haml
app/views/projects/pipelines/charts.html.haml
+1
-1
app/views/projects/project_members/index.html.haml
app/views/projects/project_members/index.html.haml
+1
-1
app/views/projects/services/edit.html.haml
app/views/projects/services/edit.html.haml
+1
-1
app/views/projects/settings/ci_cd/show.html.haml
app/views/projects/settings/ci_cd/show.html.haml
+1
-1
app/views/projects/settings/integrations/show.html.haml
app/views/projects/settings/integrations/show.html.haml
+1
-1
app/views/projects/settings/repository/show.html.haml
app/views/projects/settings/repository/show.html.haml
+1
-1
app/views/projects/tags/index.html.haml
app/views/projects/tags/index.html.haml
+1
-1
No files found.
app/helpers/breadcrumbs_helper.rb
View file @
8e9ae780
module
BreadcrumbsHelper
def
breadcrumbs_extra_link
s
(
text
,
link
)
def
add_to_breadcrumb
s
(
text
,
link
)
@breadcrumbs_extra_links
||=
[]
@breadcrumbs_extra_links
.
push
({
text:
text
,
...
...
app/views/profiles/two_factor_auths/show.html.haml
View file @
8e9ae780
-
page_title
'Two-Factor Authentication'
,
'Account'
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Account"
,
profile_account_path
)
-
add_to_breadcrumb
s
(
"Account"
,
profile_account_path
)
-
else
-
header_title
"Two-Factor Authentication"
,
profile_two_factor_auth_path
-
@breadcrumb_title
=
"Two-Factor Authentication"
...
...
app/views/projects/activity.html.haml
View file @
8e9ae780
...
...
@@ -2,7 +2,7 @@
-
@breadcrumb_title
=
"Activity"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Project"
,
project_path
(
@project
))
-
add_to_breadcrumb
s
(
"Project"
,
project_path
(
@project
))
-
page_title
"Activity"
=
render
"projects/head"
...
...
app/views/projects/boards/_show.html.haml
View file @
8e9ae780
...
...
@@ -4,7 +4,7 @@
-
page_title
"Boards"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Issues"
,
project_issues_path
(
@project
))
-
add_to_breadcrumb
s
(
"Issues"
,
project_issues_path
(
@project
))
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'common_vue'
...
...
app/views/projects/branches/index.html.haml
View file @
8e9ae780
...
...
@@ -3,7 +3,7 @@
=
render
"projects/commits/head"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Repository"
,
project_tree_path
(
@project
))
-
add_to_breadcrumb
s
(
"Repository"
,
project_tree_path
(
@project
))
%div
{
class:
container_class
}
.top-area.adjust
...
...
app/views/projects/commits/show.html.haml
View file @
8e9ae780
...
...
@@ -5,7 +5,7 @@
=
auto_discovery_link_tag
(
:atom
,
project_commits_url
(
@project
,
@ref
,
rss_url_options
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits"
)
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Repository"
,
project_tree_path
(
@project
))
-
add_to_breadcrumb
s
(
"Repository"
,
project_tree_path
(
@project
))
=
content_for
:sub_nav
do
=
render
"head"
...
...
app/views/projects/compare/index.html.haml
View file @
8e9ae780
-
@no_container
=
true
-
page_title
"Compare"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Repository"
,
project_tree_path
(
@project
))
-
add_to_breadcrumb
s
(
"Repository"
,
project_tree_path
(
@project
))
=
render
"projects/commits/head"
%div
{
class:
container_class
}
...
...
app/views/projects/compare/show.html.haml
View file @
8e9ae780
-
@no_container
=
true
-
page_title
"
#{
params
[
:from
]
}
...
#{
params
[
:to
]
}
"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Repository"
,
project_tree_path
(
@project
))
-
add_to_breadcrumb
s
(
"Repository"
,
project_tree_path
(
@project
))
=
render
"projects/commits/head"
%div
{
class:
container_class
}
...
...
app/views/projects/cycle_analytics/show.html.haml
View file @
8e9ae780
-
@no_container
=
true
-
page_title
"Cycle Analytics"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Project"
,
project_path
(
@project
))
-
add_to_breadcrumb
s
(
"Project"
,
project_path
(
@project
))
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_vue'
)
=
page_specific_javascript_bundle_tag
(
'cycle_analytics'
)
...
...
app/views/projects/environments/index.html.haml
View file @
8e9ae780
...
...
@@ -3,7 +3,7 @@
=
render
"projects/pipelines/head"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
-
add_to_breadcrumb
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_vue'
)
...
...
app/views/projects/graphs/charts.html.haml
View file @
8e9ae780
...
...
@@ -2,7 +2,7 @@
-
@breadcrumb_title
=
"Charts"
-
page_title
"Charts"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Repository"
,
project_tree_path
(
@project
))
-
add_to_breadcrumb
s
(
"Repository"
,
project_tree_path
(
@project
))
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_d3'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
...
...
app/views/projects/graphs/show.html.haml
View file @
8e9ae780
...
...
@@ -6,7 +6,7 @@
=
page_specific_javascript_bundle_tag
(
'graphs'
)
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Repository"
,
project_tree_path
(
@project
))
-
add_to_breadcrumb
s
(
"Repository"
,
project_tree_path
(
@project
))
=
render
'projects/commits/head'
...
...
app/views/projects/jobs/index.html.haml
View file @
8e9ae780
...
...
@@ -3,7 +3,7 @@
=
render
"projects/pipelines/head"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
-
add_to_breadcrumb
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
%div
{
class:
container_class
}
.top-area
...
...
app/views/projects/network/show.html.haml
View file @
8e9ae780
...
...
@@ -3,7 +3,7 @@
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'network'
)
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Repository"
,
project_tree_path
(
@project
))
-
add_to_breadcrumb
s
(
"Repository"
,
project_tree_path
(
@project
))
=
render
"projects/commits/head"
=
render
"head"
%div
{
class:
container_class
}
...
...
app/views/projects/pipeline_schedules/index.html.haml
View file @
8e9ae780
...
...
@@ -11,7 +11,7 @@
-
content_for
:breadcrumbs_extra
do
=
link_to
_
(
'New schedule'
),
new_namespace_project_pipeline_schedule_path
(
@project
.
namespace
,
@project
),
class:
'btn btn-create'
-
breadcrumbs_extra_link
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
-
add_to_breadcrumb
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
=
render
"projects/pipelines/head"
...
...
app/views/projects/pipeline_schedules/new.html.haml
View file @
8e9ae780
...
...
@@ -3,7 +3,7 @@
-
page_title
_
(
"New Pipeline Schedule"
)
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
-
add_to_breadcrumb
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
%h3
.page-title
=
_
(
"Schedule a new pipeline"
)
...
...
app/views/projects/pipelines/charts.html.haml
View file @
8e9ae780
...
...
@@ -2,7 +2,7 @@
-
@breadcrumb_title
=
"Charts"
-
page_title
_
(
"Charts"
),
_
(
"Pipelines"
)
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
-
add_to_breadcrumb
s
(
"Pipelines"
,
project_pipelines_path
(
@project
))
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_d3'
)
=
page_specific_javascript_bundle_tag
(
'graphs'
)
...
...
app/views/projects/project_members/index.html.haml
View file @
8e9ae780
...
...
@@ -2,7 +2,7 @@
-
page_title
"Members"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Settings"
,
edit_project_path
(
@project
))
-
add_to_breadcrumb
s
(
"Settings"
,
edit_project_path
(
@project
))
.row.prepend-top-default
.col-lg-12
...
...
app/views/projects/services/edit.html.haml
View file @
8e9ae780
...
...
@@ -2,7 +2,7 @@
-
page_title
@service
.
title
,
"Services"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Settings"
,
edit_project_path
(
@project
))
-
add_to_breadcrumb
s
(
"Settings"
,
edit_project_path
(
@project
))
=
render
"projects/settings/head"
=
render
'form'
app/views/projects/settings/ci_cd/show.html.haml
View file @
8e9ae780
...
...
@@ -3,7 +3,7 @@
-
page_title
"Pipelines"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Settings"
,
edit_project_path
(
@project
))
-
add_to_breadcrumb
s
(
"Settings"
,
edit_project_path
(
@project
))
=
render
"projects/settings/head"
...
...
app/views/projects/settings/integrations/show.html.haml
View file @
8e9ae780
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
page_title
'Integrations'
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Settings"
,
edit_project_path
(
@project
))
-
add_to_breadcrumb
s
(
"Settings"
,
edit_project_path
(
@project
))
=
render
"projects/settings/head"
=
render
'projects/hooks/index'
=
render
'projects/services/index'
app/views/projects/settings/repository/show.html.haml
View file @
8e9ae780
...
...
@@ -2,7 +2,7 @@
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Settings"
,
edit_project_path
(
@project
))
-
add_to_breadcrumb
s
(
"Settings"
,
edit_project_path
(
@project
))
=
render
"projects/settings/head"
...
...
app/views/projects/tags/index.html.haml
View file @
8e9ae780
...
...
@@ -4,7 +4,7 @@
=
render
"projects/commits/head"
-
if
show_new_nav?
-
breadcrumbs_extra_link
s
(
"Repository"
,
project_tree_path
(
@project
))
-
add_to_breadcrumb
s
(
"Repository"
,
project_tree_path
(
@project
))
.flex-list
{
class:
container_class
}
.top-area.adjust
...
...
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