Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
c5f427b0
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,发现更多精彩内容 >>
提交
c5f427b0
编写于
1月 19, 2013
作者:
A
Andrey Kumanyaev
提交者:
Dmitriy Zaporozhets
1月 24, 2013
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
save commit
上级
a987f146
变更
35
隐藏空白更改
内联
并排
Showing
35 changed file
with
399 addition
and
0 deletion
+399
-0
app/views/teams/members/edit.html.haml
app/views/teams/members/edit.html.haml
+2
-0
app/views/teams/members/import.html.haml
app/views/teams/members/import.html.haml
+17
-0
spec/controllers/admin/teams_controller_spec.rb
spec/controllers/admin/teams_controller_spec.rb
+47
-0
spec/controllers/teams/members_controller_spec.rb
spec/controllers/teams/members_controller_spec.rb
+47
-0
spec/controllers/teams/projects_controller_spec.rb
spec/controllers/teams/projects_controller_spec.rb
+47
-0
spec/controllers/teams_controller_spec.rb
spec/controllers/teams_controller_spec.rb
+54
-0
spec/helpers/admin/teams_helper_spec.rb
spec/helpers/admin/teams_helper_spec.rb
+15
-0
spec/helpers/teams/members_helper_spec.rb
spec/helpers/teams/members_helper_spec.rb
+15
-0
spec/helpers/teams/projects_helper_spec.rb
spec/helpers/teams/projects_helper_spec.rb
+15
-0
spec/helpers/teams_helper_spec.rb
spec/helpers/teams_helper_spec.rb
+15
-0
spec/views/admin/teams/create.html.haml_spec.rb
spec/views/admin/teams/create.html.haml_spec.rb
+5
-0
spec/views/admin/teams/destroy.html.haml_spec.rb
spec/views/admin/teams/destroy.html.haml_spec.rb
+5
-0
spec/views/admin/teams/edit.html.haml_spec.rb
spec/views/admin/teams/edit.html.haml_spec.rb
+5
-0
spec/views/admin/teams/index.html.haml_spec.rb
spec/views/admin/teams/index.html.haml_spec.rb
+5
-0
spec/views/admin/teams/show.html.haml_spec.rb
spec/views/admin/teams/show.html.haml_spec.rb
+5
-0
spec/views/admin/teams/update.html.haml_spec.rb
spec/views/admin/teams/update.html.haml_spec.rb
+5
-0
spec/views/teams/create.html.haml_spec.rb
spec/views/teams/create.html.haml_spec.rb
+5
-0
spec/views/teams/destroy.html.haml_spec.rb
spec/views/teams/destroy.html.haml_spec.rb
+5
-0
spec/views/teams/edit.html.haml_spec.rb
spec/views/teams/edit.html.haml_spec.rb
+5
-0
spec/views/teams/index.html.haml_spec.rb
spec/views/teams/index.html.haml_spec.rb
+5
-0
spec/views/teams/members/create.html.haml_spec.rb
spec/views/teams/members/create.html.haml_spec.rb
+5
-0
spec/views/teams/members/destroy.html.haml_spec.rb
spec/views/teams/members/destroy.html.haml_spec.rb
+5
-0
spec/views/teams/members/edit.html.haml_spec.rb
spec/views/teams/members/edit.html.haml_spec.rb
+5
-0
spec/views/teams/members/index.html.haml_spec.rb
spec/views/teams/members/index.html.haml_spec.rb
+5
-0
spec/views/teams/members/new.html.haml_spec.rb
spec/views/teams/members/new.html.haml_spec.rb
+5
-0
spec/views/teams/members/update.html.haml_spec.rb
spec/views/teams/members/update.html.haml_spec.rb
+5
-0
spec/views/teams/new.html.haml_spec.rb
spec/views/teams/new.html.haml_spec.rb
+5
-0
spec/views/teams/projects/create.html.haml_spec.rb
spec/views/teams/projects/create.html.haml_spec.rb
+5
-0
spec/views/teams/projects/destroy.html.haml_spec.rb
spec/views/teams/projects/destroy.html.haml_spec.rb
+5
-0
spec/views/teams/projects/edit.html.haml_spec.rb
spec/views/teams/projects/edit.html.haml_spec.rb
+5
-0
spec/views/teams/projects/index.html.haml_spec.rb
spec/views/teams/projects/index.html.haml_spec.rb
+5
-0
spec/views/teams/projects/new.html.haml_spec.rb
spec/views/teams/projects/new.html.haml_spec.rb
+5
-0
spec/views/teams/projects/update.html.haml_spec.rb
spec/views/teams/projects/update.html.haml_spec.rb
+5
-0
spec/views/teams/show.html.haml_spec.rb
spec/views/teams/show.html.haml_spec.rb
+5
-0
spec/views/teams/update.html.haml_spec.rb
spec/views/teams/update.html.haml_spec.rb
+5
-0
未找到文件。
app/views/teams/members/edit.html.haml
0 → 100644
浏览文件 @
c5f427b0
%h1
Teams::Members#edit
%p
Find me in app/views/teams/members/edit.html.haml
\ No newline at end of file
app/views/teams/members/import.html.haml
0 → 100644
浏览文件 @
c5f427b0
=
render
"projects/project_head"
%h3
.page_title
=
"Import team from another project"
%hr
%p
.slead
Read more about team import
#{
link_to
"here"
,
'#'
,
class:
'vlink'
}
.
=
form_tag
apply_import_project_team_members_path
(
@project
),
method:
'post'
do
%p
.slead
Choose project you want to use as team source:
.padded
=
label_tag
:source_project_id
,
"Project"
.input
=
select_tag
(
:source_project_id
,
options_from_collection_for_select
(
current_user
.
authorized_projects
,
:id
,
:name_with_namespace
),
prompt:
"Select project"
,
class:
"chosen xxlarge"
,
required:
true
)
.actions
=
submit_tag
'Import'
,
class:
"btn save-btn"
=
link_to
"Cancel"
,
project_team_index_path
(
@project
),
class:
"btn cancel-btn"
spec/controllers/admin/teams_controller_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
Admin
::
TeamsController
do
describe
"GET 'index'"
do
it
"returns http success"
do
get
'index'
response
.
should
be_success
end
end
describe
"GET 'show'"
do
it
"returns http success"
do
get
'show'
response
.
should
be_success
end
end
describe
"GET 'create'"
do
it
"returns http success"
do
get
'create'
response
.
should
be_success
end
end
describe
"GET 'edit'"
do
it
"returns http success"
do
get
'edit'
response
.
should
be_success
end
end
describe
"GET 'update'"
do
it
"returns http success"
do
get
'update'
response
.
should
be_success
end
end
describe
"GET 'destroy'"
do
it
"returns http success"
do
get
'destroy'
response
.
should
be_success
end
end
end
spec/controllers/teams/members_controller_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
Teams
::
MembersController
do
describe
"GET 'index'"
do
it
"returns http success"
do
get
'index'
response
.
should
be_success
end
end
describe
"GET 'new'"
do
it
"returns http success"
do
get
'new'
response
.
should
be_success
end
end
describe
"GET 'create'"
do
it
"returns http success"
do
get
'create'
response
.
should
be_success
end
end
describe
"GET 'edit'"
do
it
"returns http success"
do
get
'edit'
response
.
should
be_success
end
end
describe
"GET 'update'"
do
it
"returns http success"
do
get
'update'
response
.
should
be_success
end
end
describe
"GET 'destroy'"
do
it
"returns http success"
do
get
'destroy'
response
.
should
be_success
end
end
end
spec/controllers/teams/projects_controller_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
Teams
::
ProjectsController
do
describe
"GET 'index'"
do
it
"returns http success"
do
get
'index'
response
.
should
be_success
end
end
describe
"GET 'new'"
do
it
"returns http success"
do
get
'new'
response
.
should
be_success
end
end
describe
"GET 'create'"
do
it
"returns http success"
do
get
'create'
response
.
should
be_success
end
end
describe
"GET 'edit'"
do
it
"returns http success"
do
get
'edit'
response
.
should
be_success
end
end
describe
"GET 'update'"
do
it
"returns http success"
do
get
'update'
response
.
should
be_success
end
end
describe
"GET 'destroy'"
do
it
"returns http success"
do
get
'destroy'
response
.
should
be_success
end
end
end
spec/controllers/teams_controller_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
TeamsController
do
describe
"GET 'index'"
do
it
"returns http success"
do
get
'index'
response
.
should
be_success
end
end
describe
"GET 'show'"
do
it
"returns http success"
do
get
'show'
response
.
should
be_success
end
end
describe
"GET 'new'"
do
it
"returns http success"
do
get
'new'
response
.
should
be_success
end
end
describe
"GET 'edit'"
do
it
"returns http success"
do
get
'edit'
response
.
should
be_success
end
end
describe
"GET 'update'"
do
it
"returns http success"
do
get
'update'
response
.
should
be_success
end
end
describe
"GET 'create'"
do
it
"returns http success"
do
get
'create'
response
.
should
be_success
end
end
describe
"GET 'destroy'"
do
it
"returns http success"
do
get
'destroy'
response
.
should
be_success
end
end
end
spec/helpers/admin/teams_helper_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
# Specs in this file have access to a helper object that includes
# the Admin::TeamsHelper. For example:
#
# describe Admin::TeamsHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","that").should == "this that"
# end
# end
# end
describe
Admin
::
TeamsHelper
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/helpers/teams/members_helper_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
# Specs in this file have access to a helper object that includes
# the Teams::MembersHelper. For example:
#
# describe Teams::MembersHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","that").should == "this that"
# end
# end
# end
describe
Teams
::
MembersHelper
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/helpers/teams/projects_helper_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
# Specs in this file have access to a helper object that includes
# the Teams::ProjectsHelper. For example:
#
# describe Teams::ProjectsHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","that").should == "this that"
# end
# end
# end
describe
Teams
::
ProjectsHelper
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/helpers/teams_helper_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
# Specs in this file have access to a helper object that includes
# the TeamsHelper. For example:
#
# describe TeamsHelper do
# describe "string concat" do
# it "concats two strings with spaces" do
# helper.concat_strings("this","that").should == "this that"
# end
# end
# end
describe
TeamsHelper
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/create.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/create.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/destroy.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/destroy.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/edit.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/edit.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/index.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/index.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/show.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/show.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/admin/teams/update.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/update.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/create.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/create.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/destroy.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/destroy.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/edit.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/edit.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/index.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/index.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/members/create.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"members/create.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/members/destroy.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"members/destroy.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/members/edit.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"members/edit.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/members/index.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"members/index.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/members/new.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"members/new.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/members/update.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"members/update.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/new.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/new.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/projects/create.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"projects/create.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/projects/destroy.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"projects/destroy.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/projects/edit.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"projects/edit.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/projects/index.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"projects/index.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/projects/new.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"projects/new.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/projects/update.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"projects/update.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/show.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/show.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
spec/views/teams/update.html.haml_spec.rb
0 → 100644
浏览文件 @
c5f427b0
require
'spec_helper'
describe
"teams/update.html.haml"
do
pending
"add some examples to (or delete)
#{
__FILE__
}
"
end
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录