Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
9fcc28d4
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
9fcc28d4
编写于
7月 12, 2017
作者:
P
Phil Hughes
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
moved declaration of `breadcrumb_title` into `page_title` method
`breadcrumb_title` is then overriden when needed
上级
ab6c8935
变更
28
隐藏空白更改
内联
并排
Showing
28 changed file
with
8 addition
and
25 deletion
+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
未找到文件。
app/helpers/page_layout_helper.rb
浏览文件 @
9fcc28d4
...
...
@@ -4,6 +4,10 @@ module PageLayoutHelper
@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
@page_title
.
join
(
"
\u
00b7 "
)
end
...
...
app/views/admin/appearances/show.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Appearance"
-
page_title
"Appearance"
%h3
.page-title
...
...
app/views/admin/application_settings/show.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Settings"
-
page_title
"Settings"
%h3
.page-title
Settings
...
...
app/views/admin/applications/edit.html.haml
浏览文件 @
9fcc28d4
-
page_title
"Edit"
,
@application
.
name
,
"Applications"
-
@breadcrumb_title
=
"Applications"
%h3
.page-title
Edit application
-
@url
=
admin_application_path
(
@application
)
=
render
'form'
,
application:
@application
app/views/admin/applications/new.html.haml
浏览文件 @
9fcc28d4
-
page_title
"New Application"
-
@breadcrumb_title
=
"Applications"
%h3
.page-title
New application
-
@url
=
admin_applications_path
=
render
'form'
,
application:
@application
app/views/admin/hooks/index.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"System Hooks"
-
page_title
'System Hooks'
%h3
.page-title
System hooks
...
...
app/views/admin/services/index.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Service Templates"
-
page_title
"Service Templates"
%h3
.page-title
Service templates
%p
.light
Service template allows you to set default values for project services
...
...
app/views/dashboard/activity.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Activity"
-
@hide_top_links
=
true
-
@no_container
=
true
...
...
app/views/dashboard/issues.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Issues"
-
@hide_top_links
=
true
-
page_title
"Issues"
-
header_title
"Issues"
,
issues_dashboard_path
(
assignee_id:
current_user
.
id
)
...
...
app/views/dashboard/merge_requests.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Merge Requests"
-
@hide_top_links
=
true
-
page_title
"Merge Requests"
-
header_title
"Merge Requests"
,
merge_requests_dashboard_path
(
assignee_id:
current_user
.
id
)
...
...
app/views/dashboard/projects/index.html.haml
浏览文件 @
9fcc28d4
-
@no_container
=
true
-
@hide_top_links
=
true
-
@breadcrumb_title
=
"Projects"
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
dashboard_projects_url
(
rss_url_options
),
title:
"All activity"
)
...
...
app/views/groups/activity.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Activity"
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
group_url
(
@group
,
rss_url_options
),
title:
"
#{
@group
.
name
}
activity"
)
...
...
app/views/groups/edit.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Settings"
=
render
"groups/settings_head"
.panel.panel-default.prepend-top-default
.panel-heading
...
...
app/views/groups/group_members/index.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Members"
-
page_title
"Members"
.project-members-page.prepend-top-default
...
...
app/views/groups/issues.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Issues"
-
page_title
"Issues"
-
group_issues_exists
=
group_issues
(
@group
).
exists?
=
render
"head_issues"
...
...
app/views/groups/merge_requests.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Merge Requests"
-
page_title
"Merge Requests"
-
if
show_new_nav?
&&
current_user
...
...
app/views/profiles/accounts/show.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Account"
-
page_title
"Account"
-
@content_class
=
"limit-container-width"
unless
fluid_layout
=
render
'profiles/head'
...
...
app/views/profiles/audit_log.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Authentication log"
-
page_title
"Authentication log"
-
@content_class
=
"limit-container-width"
unless
fluid_layout
=
render
'profiles/head'
...
...
app/views/profiles/two_factor_auths/show.html.haml
浏览文件 @
9fcc28d4
...
...
@@ -3,7 +3,6 @@
-
add_to_breadcrumbs
(
"Account"
,
profile_account_path
)
-
else
-
header_title
"Two-Factor Authentication"
,
profile_two_factor_auth_path
-
@breadcrumb_title
=
"Two-Factor Authentication"
-
@content_class
=
"limit-container-width"
unless
fluid_layout
=
render
'profiles/head'
...
...
app/views/projects/activity.html.haml
浏览文件 @
9fcc28d4
-
@no_container
=
true
-
@breadcrumb_title
=
"Activity"
-
if
show_new_nav?
-
add_to_breadcrumbs
(
"Project"
,
project_path
(
@project
))
...
...
app/views/projects/boards/_show.html.haml
浏览文件 @
9fcc28d4
-
@no_container
=
true
-
@content_class
=
"issue-boards-content"
-
@breadcrumb_title
=
"Board"
-
page_title
"Boards"
-
if
show_new_nav?
...
...
app/views/projects/edit.html.haml
浏览文件 @
9fcc28d4
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@breadcrumb_title
=
"Settings"
=
render
"projects/settings/head"
.project-edit-container
...
...
app/views/projects/graphs/charts.html.haml
浏览文件 @
9fcc28d4
-
@no_container
=
true
-
@breadcrumb_title
=
"Charts"
-
page_title
"Charts"
-
if
show_new_nav?
-
add_to_breadcrumbs
(
"Repository"
,
project_tree_path
(
@project
))
...
...
app/views/projects/graphs/show.html.haml
浏览文件 @
9fcc28d4
-
@no_container
=
true
-
@breadcrumb_title
=
"Contributors"
-
page_title
"Contributors"
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'common_d3'
)
...
...
app/views/projects/network/show.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Graph"
-
page_title
"Graph"
,
@ref
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'network'
)
...
...
app/views/projects/pipelines/charts.html.haml
浏览文件 @
9fcc28d4
-
@no_container
=
true
-
@breadcrumb_title
=
"Charts"
-
page_title
_
(
"Charts"
),
_
(
"Pipelines"
)
-
if
show_new_nav?
-
add_to_breadcrumbs
(
"Pipelines"
,
project_pipelines_path
(
@project
))
...
...
app/views/projects/project_members/index.html.haml
浏览文件 @
9fcc28d4
-
@breadcrumb_title
=
"Members"
-
page_title
"Members"
-
if
show_new_nav?
...
...
app/views/projects/settings/ci_cd/show.html.haml
浏览文件 @
9fcc28d4
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
@breadcrumb_title
=
"Pipelines"
-
page_title
"Pipelines"
-
if
show_new_nav?
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录