Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
e9d8d074
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 搜索 >>
提交
e9d8d074
编写于
2月 18, 2013
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
no projects message in group area
上级
655e68a0
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
32 addition
and
17 deletion
+32
-17
app/views/groups/_filter.html.haml
app/views/groups/_filter.html.haml
+2
-0
app/views/groups/_people_filter.html.haml
app/views/groups/_people_filter.html.haml
+2
-0
app/views/groups/edit.html.haml
app/views/groups/edit.html.haml
+2
-0
app/views/teams/edit.html.haml
app/views/teams/edit.html.haml
+26
-17
未找到文件。
app/views/groups/_filter.html.haml
浏览文件 @
e9d8d074
...
...
@@ -26,6 +26,8 @@
=
link_to
group_filter_path
(
entity
,
project_id:
project
.
id
)
do
=
project
.
name_with_namespace
%small
.pull-right
=
entities_per_project
(
project
,
entity
)
-
if
@projects
.
blank?
%p
.nothing_here_message
This group has no projects yet
%fieldset
%hr
...
...
app/views/groups/_people_filter.html.haml
浏览文件 @
e9d8d074
...
...
@@ -7,6 +7,8 @@
=
link_to
people_group_path
(
@group
,
project_id:
project
.
id
)
do
=
project
.
name_with_namespace
%small
.pull-right
=
project
.
users
.
count
-
if
@projects
.
blank?
%p
.nothing_here_message
This group has no projects yet
%fieldset
%hr
...
...
app/views/groups/edit.html.haml
浏览文件 @
e9d8d074
...
...
@@ -30,6 +30,8 @@
=
link_to
'Team'
,
project_team_index_path
(
project
),
id:
"edit_
#{
dom_id
(
project
)
}
"
,
class:
"btn btn-small"
=
link_to
'Edit'
,
edit_project_path
(
project
),
id:
"edit_
#{
dom_id
(
project
)
}
"
,
class:
"btn btn-small"
=
link_to
'Remove'
,
project
,
confirm:
"REMOVE
#{
project
.
name
}
? Are you sure?"
,
method: :delete
,
class:
"btn btn-small btn-remove"
-
if
@group
.
projects
.
blank?
%p
.nothing_here_message
This group has no projects yet
.span5
.ui-box
...
...
app/views/teams/edit.html.haml
浏览文件 @
e9d8d074
%h3
.page_title
=
"Edit Team
#{
@team
.
name
}
"
%hr
=
form_for
@team
,
url:
team_path
(
@team
)
do
|
f
|
-
if
@team
.
errors
.
any?
.alert.alert-error
%span
=
@team
.
errors
.
full_messages
.
first
.clearfix
=
f
.
label
:name
do
Team name is
.input
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"xxlarge left"
.row
.span7
=
form_for
@team
,
url:
team_path
(
@team
)
do
|
f
|
-
if
@team
.
errors
.
any?
.alert.alert-error
%span
=
@team
.
errors
.
full_messages
.
first
.clearfix
=
f
.
label
:name
do
Team name is
.input
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"xlarge left"
.clearfix
=
f
.
label
:path
do
Team path is
.input
=
f
.
text_field
:path
,
placeholder:
"opensource"
,
class:
"xlarge left"
.form-actions
=
f
.
submit
'Save team changes'
,
class:
"btn btn-save"
.span5
.ui-box
%h5
.title
Remove team
.padded.bgred
%p
Removed team can not be restored!
=
link_to
'Remove team'
,
team_path
(
@team
),
method: :delete
,
confirm:
"You are sure?"
,
class:
"btn btn-remove btn-small"
.clearfix
=
f
.
label
:path
do
Team path is
.input
=
f
.
text_field
:path
,
placeholder:
"opensource"
,
class:
"xxlarge left"
.form-actions
=
f
.
submit
'Save team changes'
,
class:
"btn btn-primary"
=
link_to
'Delete team'
,
team_path
(
@team
),
method: :delete
,
confirm:
"You are shure?"
,
class:
"btn btn-remove pull-right"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录