Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
dd37aa06
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,发现更多精彩内容 >>
提交
dd37aa06
编写于
5月 06, 2015
作者:
S
Sytse Sijbrandij
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
上级
48f22a39
065637a8
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
15 addition
and
11 deletion
+15
-11
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+3
-0
app/views/projects/_aside.html.haml
app/views/projects/_aside.html.haml
+4
-4
app/views/projects/_section.html.haml
app/views/projects/_section.html.haml
+5
-4
app/views/shared/_clone_panel.html.haml
app/views/shared/_clone_panel.html.haml
+3
-3
未找到文件。
app/assets/stylesheets/pages/projects.scss
浏览文件 @
dd37aa06
...
@@ -201,9 +201,12 @@ ul.nav.nav-projects-tabs {
...
@@ -201,9 +201,12 @@ ul.nav.nav-projects-tabs {
}
}
.well
{
.well
{
padding
:
14px
;
h4
{
h4
{
font-weight
:
normal
;
font-weight
:
normal
;
margin
:
0
;
margin
:
0
;
color
:
#555
;
}
}
.nav-pills
a
{
.nav-pills
a
{
...
...
app/views/projects/_aside.html.haml
浏览文件 @
dd37aa06
...
@@ -51,10 +51,10 @@
...
@@ -51,10 +51,10 @@
-
if
@project
.
forked_from_project
-
if
@project
.
forked_from_project
.well
.well
%
i
.fa.fa-code-fork.project-fork-icon
%
h4
Forked from:
Forked from
%br
.pull-right
=
link_to
@project
.
forked_from_project
.
name_with_namespace
,
project_path
(
@project
.
forked_from_project
)
=
link_to
@project
.
forked_from_project
.
namespace
.
try
(
:name
)
,
project_path
(
@project
.
forked_from_project
)
-
if
version
=
@repository
.
version
-
if
version
=
@repository
.
version
...
...
app/views/projects/_section.html.haml
浏览文件 @
dd37aa06
...
@@ -26,8 +26,9 @@
...
@@ -26,8 +26,9 @@
-
if
readme
=
@repository
.
readme
-
if
readme
=
@repository
.
readme
.tab-pane
#tab-readme
.tab-pane
#tab-readme
%article
.readme-holder
#README
%article
.readme-holder
#README
=
link_to
namespace_project_blob_path
(
@project
.
namespace
,
@project
,
tree_join
(
@repository
.
root_ref
,
readme
.
name
))
do
.clearfix
%h4
.readme-file-title
%small
.pull-right
=
link_to
namespace_project_blob_path
(
@project
.
namespace
,
@project
,
tree_join
(
@repository
.
root_ref
,
readme
.
name
)),
class:
'light'
do
%i
.fa.fa-file
%i
.fa.fa-file
=
readme
.
name
=
readme
.
name
.wiki
.wiki
...
...
app/views/shared/_clone_panel.html.haml
浏览文件 @
dd37aa06
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
.input-group-btn
.input-group-btn
%button
{
|
%button
{
|
:type
=>
'button'
,
|
:type
=>
'button'
,
|
class:
"btn #{ 'active' if default_clone_protocol == 'ssh' }#{ ' has_tooltip' if current_user && current_user.require_ssh_key? }"
,
|
class:
"btn
btn-sm
#{ 'active' if default_clone_protocol == 'ssh' }#{ ' has_tooltip' if current_user && current_user.require_ssh_key? }"
,
|
:"data-clone"
=>
project
.
ssh_url_to_repo
,
|
:"data-clone"
=>
project
.
ssh_url_to_repo
,
|
:"data-title"
=>
"Add an SSH key to your profile<br> to pull or push via SSH"
,
:"data-title"
=>
"Add an SSH key to your profile<br> to pull or push via SSH"
,
:"data-html"
=>
"true"
,
:"data-html"
=>
"true"
,
...
@@ -11,13 +11,13 @@
...
@@ -11,13 +11,13 @@
SSH
SSH
%button
{
|
%button
{
|
:type
=>
'button'
,
|
:type
=>
'button'
,
|
class:
"btn #{ 'active' if default_clone_protocol == 'http' }#{ ' has_tooltip' if current_user && current_user.require_password? }"
,
|
class:
"btn
btn-sm
#{ 'active' if default_clone_protocol == 'http' }#{ ' has_tooltip' if current_user && current_user.require_password? }"
,
|
:"data-clone"
=>
project
.
http_url_to_repo
,
|
:"data-clone"
=>
project
.
http_url_to_repo
,
|
:"data-title"
=>
"Set a password on your account<br> to pull or push via #{gitlab_config.protocol.upcase}"
,
:"data-title"
=>
"Set a password on your account<br> to pull or push via #{gitlab_config.protocol.upcase}"
,
:"data-html"
=>
"true"
,
:"data-html"
=>
"true"
,
:"data-container"
=>
"body"
}
:"data-container"
=>
"body"
}
=
gitlab_config
.
protocol
.
upcase
=
gitlab_config
.
protocol
.
upcase
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control"
,
readonly:
true
=
text_field_tag
:project_clone
,
default_url_to_repo
(
project
),
class:
"js-select-on-focus form-control
input-sm
"
,
readonly:
true
-
if
project
.
kind_of?
(
Project
)
-
if
project
.
kind_of?
(
Project
)
.input-group-addon
.input-group-addon
.visibility-level-label.has_tooltip
{
'data-title'
=>
"#{visibility_level_label(project.visibility_level)} project"
}
.visibility-level-label.has_tooltip
{
'data-title'
=>
"#{visibility_level_label(project.visibility_level)} project"
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录