Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
4223beff
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,发现更多精彩内容 >>
未验证
提交
4223beff
编写于
6月 06, 2018
作者:
P
Phil Hughes
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
changed a link into a button
i18n
上级
5372c2e8
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
23 addition
and
14 deletion
+23
-14
app/assets/javascripts/ide/components/ide_review.vue
app/assets/javascripts/ide/components/ide_review.vue
+5
-1
app/assets/javascripts/ide/components/ide_side_bar.vue
app/assets/javascripts/ide/components/ide_side_bar.vue
+3
-4
app/assets/javascripts/ide/components/merge_requests/list.vue
...assets/javascripts/ide/components/merge_requests/list.vue
+1
-1
app/assets/stylesheets/framework/contextual_sidebar.scss
app/assets/stylesheets/framework/contextual_sidebar.scss
+8
-2
app/assets/stylesheets/pages/repo.scss
app/assets/stylesheets/pages/repo.scss
+6
-6
未找到文件。
app/assets/javascripts/ide/components/ide_review.vue
浏览文件 @
4223beff
...
...
@@ -18,6 +18,9 @@ export default {
showMergeRequestText
()
{
return
this
.
currentMergeRequestId
&&
this
.
viewer
===
viewerTypes
.
mr
;
},
mergeRequestId
()
{
return
`!
${
this
.
currentMergeRequest
.
iid
}
`
;
},
},
mounted
()
{
this
.
$nextTick
(()
=>
{
...
...
@@ -57,7 +60,8 @@ export default {
(
<a
v-if=
"currentMergeRequest"
:href=
"currentMergeRequest.web_url"
>
!
{{
currentMergeRequest
.
iid
}}
</a>
)
v-text=
"mergeRequestId"
></a>
)
</
template
>
</div>
</template>
...
...
app/assets/javascripts/ide/components/ide_side_bar.vue
浏览文件 @
4223beff
...
...
@@ -127,9 +127,8 @@ export default {
class=
"context-header ide-context-header dropdown"
ref=
"mergeRequestDropdown"
>
<a
href=
"#"
role=
"button"
<button
type=
"button"
data-toggle=
"dropdown"
>
<div
...
...
@@ -185,7 +184,7 @@ export default {
class=
"ml-auto"
name=
"chevron-down"
/>
</
a
>
</
button
>
<merge-request-dropdown
:show=
"showMergeRequestsDropdown"
/>
...
...
app/assets/javascripts/ide/components/merge_requests/list.vue
浏览文件 @
4223beff
...
...
@@ -82,7 +82,7 @@ export default {
<input
type=
"search"
class=
"dropdown-input-field"
placeholder=
"Search merge requests
"
:placeholder=
"__('Search merge requests')
"
v-model=
"search"
@
input=
"searchMergeRequests"
ref=
"searchInput"
...
...
app/assets/stylesheets/framework/contextual_sidebar.scss
浏览文件 @
4223beff
...
...
@@ -26,18 +26,24 @@
margin-right
:
2px
;
width
:
$contextual-sidebar-width
;
a
{
>
a
,
>
button
{
transition
:
padding
$sidebar-transition-duration
;
font-weight
:
$gl-font-weight-bold
;
display
:
flex
;
width
:
100%
;
align-items
:
center
;
padding
:
10px
16px
10px
10px
;
color
:
$gl-text-color
;
background-color
:
transparent
;
border
:
0
;
text-align
:
left
;
&
:hover
,
a
:hover
{
&
:focus
{
background-color
:
$link-hover-background
;
color
:
$gl-text-color
;
outline
:
0
;
}
}
...
...
app/assets/stylesheets/pages/repo.scss
浏览文件 @
4223beff
...
...
@@ -458,14 +458,10 @@
width
:
auto
;
margin-right
:
0
;
a
{
>
a
,
>
button
{
height
:
60px
;
}
a
:hover
,
a
:focus
{
text-decoration
:
none
;
}
}
.projects-sidebar
{
...
...
@@ -1302,6 +1298,10 @@
.dropdown-input
{
padding-left
:
$gl-padding
;
padding-right
:
$gl-padding
;
.fa
{
right
:
26px
;
}
}
.btn-link
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录