Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
c306c6da
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,发现更多精彩内容 >>
提交
c306c6da
编写于
1月 10, 2018
作者:
G
George Tsiolis
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Adjust last push notification width
上级
13bf010f
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
31 addition
and
27 deletion
+31
-27
app/views/dashboard/activity.html.haml
app/views/dashboard/activity.html.haml
+1
-3
app/views/dashboard/projects/index.html.haml
app/views/dashboard/projects/index.html.haml
+1
-2
app/views/dashboard/projects/starred.html.haml
app/views/dashboard/projects/starred.html.haml
+1
-2
app/views/projects/_last_push.html.haml
app/views/projects/_last_push.html.haml
+13
-14
app/views/projects/activity.html.haml
app/views/projects/activity.html.haml
+2
-1
app/views/projects/blob/show.html.haml
app/views/projects/blob/show.html.haml
+2
-1
app/views/projects/merge_requests/index.html.haml
app/views/projects/merge_requests/index.html.haml
+2
-1
app/views/projects/show.html.haml
app/views/projects/show.html.haml
+3
-1
app/views/projects/tree/show.html.haml
app/views/projects/tree/show.html.haml
+1
-2
changelogs/unreleased/fix-adjust-layout-width-for-fixed-layout.yml
...s/unreleased/fix-adjust-layout-width-for-fixed-layout.yml
+5
-0
未找到文件。
app/views/dashboard/activity.html.haml
浏览文件 @
c306c6da
...
...
@@ -7,10 +7,8 @@
-
page_title
"Activity"
-
header_title
"Activity"
,
activity_dashboard_path
.hidden-xs
=
render
"projects/last_push"
%div
{
class:
container_class
}
=
render
"projects/last_push"
=
render
'dashboard/activity_head'
%section
.activities
...
...
app/views/dashboard/projects/index.html.haml
浏览文件 @
c306c6da
...
...
@@ -7,9 +7,8 @@
-
page_title
"Projects"
-
header_title
"Projects"
,
dashboard_projects_path
=
render
"projects/last_push"
%div
{
class:
container_class
}
=
render
"projects/last_push"
-
if
show_projects?
(
@projects
,
params
)
=
render
'dashboard/projects_head'
=
render
'nav'
...
...
app/views/dashboard/projects/starred.html.haml
浏览文件 @
c306c6da
...
...
@@ -4,9 +4,8 @@
-
page_title
"Starred Projects"
-
header_title
"Projects"
,
dashboard_projects_path
=
render
"projects/last_push"
%div
{
class:
container_class
}
=
render
"projects/last_push"
=
render
'dashboard/projects_head'
-
if
params
[
:filter_projects
]
||
any_projects?
(
@projects
)
...
...
app/views/projects/_last_push.html.haml
浏览文件 @
c306c6da
-
event
=
last_push_event
-
if
event
&&
show_last_push_widget?
(
event
)
%div
{
class:
container_class
}
.row-content-block.top-block.hidden-xs.white
.event-last-push
.event-last-push-text
%span
=
s_
(
"LastPushEvent|You pushed to"
)
%strong
=
link_to
event
.
ref_name
,
project_commits_path
(
event
.
project
,
event
.
ref_name
),
class:
'ref-name'
.row-content-block.top-block.hidden-xs.white
.event-last-push
.event-last-push-text
%span
=
s_
(
"LastPushEvent|You pushed to"
)
%strong
=
link_to
event
.
ref_name
,
project_commits_path
(
event
.
project
,
event
.
ref_name
),
class:
'ref-name'
-
if
event
.
project
!=
@project
%span
=
s_
(
"LastPushEvent|at"
)
%strong
=
link_to_project
event
.
project
-
if
event
.
project
!=
@project
%span
=
s_
(
"LastPushEvent|at"
)
%strong
=
link_to_project
event
.
project
#{
time_ago_with_tooltip
(
event
.
created_at
)
}
#{
time_ago_with_tooltip
(
event
.
created_at
)
}
.pull-right
=
link_to
new_mr_path_from_push_event
(
event
),
title:
_
(
"New merge request"
),
class:
"btn btn-info btn-sm"
do
#{
_
(
'Create merge request'
)
}
.pull-right
=
link_to
new_mr_path_from_push_event
(
event
),
title:
_
(
"New merge request"
),
class:
"btn btn-info btn-sm"
do
#{
_
(
'Create merge request'
)
}
app/views/projects/activity.html.haml
浏览文件 @
c306c6da
...
...
@@ -2,6 +2,7 @@
-
page_title
_
(
"Activity"
)
=
render
'projects/last_push'
%div
{
class:
container_class
}
=
render
'projects/last_push'
=
render
'projects/activity'
app/views/projects/blob/show.html.haml
浏览文件 @
c306c6da
...
...
@@ -6,9 +6,10 @@
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'blob'
=
render
'projects/last_push'
%div
{
class:
container_class
}
=
render
'projects/last_push'
#tree-holder
.tree-holder
=
render
'blob'
,
blob:
@blob
...
...
app/views/projects/merge_requests/index.html.haml
浏览文件 @
c306c6da
...
...
@@ -10,7 +10,8 @@
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'filtered_search'
=
render
'projects/last_push'
%div
{
class:
container_class
}
=
render
'projects/last_push'
-
if
@project
.
merge_requests
.
exists?
%div
{
class:
container_class
}
...
...
app/views/projects/show.html.haml
浏览文件 @
c306c6da
...
...
@@ -7,7 +7,9 @@
=
render
partial:
'flash_messages'
,
locals:
{
project:
@project
}
=
render
"projects/last_push"
%div
{
class:
[
container_class
,
(
"limit-container-width"
unless
fluid_layout
)]
}
=
render
"projects/last_push"
=
render
"home_panel"
-
if
can?
(
current_user
,
:download_code
,
@project
)
...
...
app/views/projects/tree/show.html.haml
浏览文件 @
c306c6da
...
...
@@ -6,7 +6,6 @@
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
project_commits_url
(
@project
,
@ref
,
rss_url_options
),
title:
"
#{
@project
.
name
}
:
#{
@ref
}
commits"
)
=
render
'projects/last_push'
%div
{
class:
[(
container_class
),
(
"limit-container-width"
unless
fluid_layout
)]
}
=
render
'projects/last_push'
=
render
'projects/files'
,
commit:
@last_commit
,
project:
@project
,
ref:
@ref
,
content_url:
project_tree_path
(
@project
,
@id
)
changelogs/unreleased/fix-adjust-layout-width-for-fixed-layout.yml
0 → 100644
浏览文件 @
c306c6da
---
title
:
Adjust layout width for fixed layout
merge_request
:
16337
author
:
George Tsiolis
type
:
fixed
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录