Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
9959669f
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,发现更多精彩内容 >>
提交
9959669f
编写于
2月 14, 2013
作者:
A
Andrew8xx8
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Desctiptions removed from dashboard
上级
3d4e3245
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
13 addition
and
81 deletion
+13
-81
app/assets/stylesheets/application.scss
app/assets/stylesheets/application.scss
+0
-2
app/assets/stylesheets/sections/groups.scss
app/assets/stylesheets/sections/groups.scss
+0
-31
app/assets/stylesheets/sections/teams.scss
app/assets/stylesheets/sections/teams.scss
+0
-31
app/views/dashboard/_groups.html.haml
app/views/dashboard/_groups.html.haml
+4
-6
app/views/dashboard/_teams.html.haml
app/views/dashboard/_teams.html.haml
+7
-9
features/steps/userteams/userteams.rb
features/steps/userteams/userteams.rb
+2
-2
未找到文件。
app/assets/stylesheets/application.scss
浏览文件 @
9959669f
...
...
@@ -20,8 +20,6 @@
@import
"sections/nav.scss"
;
@import
"sections/commits.scss"
;
@import
"sections/issues.scss"
;
@import
"sections/groups.scss"
;
@import
"sections/teams.scss"
;
@import
"sections/projects.scss"
;
@import
"sections/snippets.scss"
;
@import
"sections/votes.scss"
;
...
...
app/assets/stylesheets/sections/groups.scss
已删除
100644 → 0
浏览文件 @
3d4e3245
.projects
{
@extend
.row
;
.activities
{
}
.side
{
@extend
.right
;
.groups_box
{
>
.title
{
padding
:
2px
15px
;
}
.well-list
{
li
{
padding
:
15px
;
}
.edit
{
float
:
right
;
margin
:
0
;
}
.description
{
padding-top
:
5px
;
display
:
block
;
span
,
strong
{
font-size
:
12px
;
color
:
#666
;
}
}
}
@extend
.ui-box
;
}
}
}
app/assets/stylesheets/sections/teams.scss
已删除
100644 → 0
浏览文件 @
3d4e3245
.projects
{
@extend
.row
;
.activities
{
}
.side
{
@extend
.right
;
.teams_box
{
>
.title
{
padding
:
2px
15px
;
}
.well-list
{
li
{
padding
:
15px
;
}
.edit
{
float
:
right
;
margin
:
0
;
}
.description
{
padding-top
:
5px
;
display
:
block
;
span
,
strong
{
font-size
:
12px
;
color
:
#666
;
}
}
}
@extend
.ui-box
;
}
}
}
app/views/dashboard/_groups.html.haml
浏览文件 @
9959669f
.
groups_
box
.
ui-
box
%h5
.title
Groups
%small
...
...
@@ -13,8 +13,6 @@
%li
=
link_to
group_path
(
id:
group
.
path
),
class:
dom_class
(
group
)
do
%strong
.well-title
=
truncate
(
group
.
name
,
length:
35
)
%span
.edit.light
-
if
group
.
owner
==
current_user
%i
.icon-wrench
%span
.description
%strong
=
group
.
description
%span
.pull-right.light
-
if
group
.
owner
==
current_user
%i
.icon-wrench
app/views/dashboard/_teams.html.haml
浏览文件 @
9959669f
.ui-box.teams
_
box
.ui-box.teams
-
box
%h5
.title
Teams
%small
...
...
@@ -12,11 +12,9 @@
%li
=
link_to
team_path
(
id:
team
.
path
),
class:
dom_class
(
team
)
do
%strong
.well-title
=
truncate
(
team
.
name
,
length:
35
)
%span
.edit.light
-
if
team
.
owner
==
current_user
%i
.icon-wrench
-
tm
=
current_user
.
user_team_user_relationships
.
find_by_user_team_id
(
team
.
id
)
-
if
tm
=
tm
.
access_human
%span
.description
%strong
=
team
.
description
%span
.pull-right.light
-
if
team
.
owner
==
current_user
%i
.icon-wrench
-
tm
=
current_user
.
user_team_user_relationships
.
find_by_user_team_id
(
team
.
id
)
-
if
tm
=
tm
.
access_human
features/steps/userteams/userteams.rb
浏览文件 @
9959669f
...
...
@@ -8,7 +8,7 @@ class Userteams < Spinach::FeatureSteps
end
Then
'I should see dashboard page without teams info block'
do
page
.
has_no_css?
(
".teams
_
box"
).
must_equal
true
page
.
has_no_css?
(
".teams
-
box"
).
must_equal
true
end
When
'I have teams with my membership'
do
...
...
@@ -17,7 +17,7 @@ class Userteams < Spinach::FeatureSteps
end
Then
'I should see dashboard page with teams information block'
do
page
.
should
have_css
(
".teams
_
box"
)
page
.
should
have_css
(
".teams
-
box"
)
end
When
'exist user teams'
do
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录