Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
550274e1
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,发现更多精彩内容 >>
提交
550274e1
编写于
3月 19, 2012
作者:
S
Steven Verbeek
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added badge, made the issue list smaller height wise, and moved # NOTES over to # comments
上级
c43ac3c7
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
7 deletion
+11
-7
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+9
-5
app/views/issues/_show.html.haml
app/views/issues/_show.html.haml
+2
-2
未找到文件。
app/assets/stylesheets/common.scss
浏览文件 @
550274e1
...
...
@@ -250,8 +250,12 @@ nav.main_menu {
background-image
:
-o-linear-gradient
(
#eee
6
.6%
,
#dfdfdf
);
@include
shade
;
.count
{
color
:
#aaa
;
margin-left
:
3px
;
margin-left
:
3px
;
color
:
#332
;
background
:
white
;
padding
:
1px
6px
2px
;
font-weight
:
bold
;
-webkit-border-radius
:
9px
;
}
.label
{
background
:
$hover
;
...
...
@@ -302,8 +306,8 @@ nav.main_menu {
img
.avatar
{
float
:left
;
margin-right
:
1
5
px
;
width
:
40
px
;
margin-right
:
1
0
px
;
width
:
35
px
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
...
...
@@ -326,7 +330,7 @@ img.lil_av {
.wll
{
background-color
:
#FFF
;
padding
:
10px
5
px
;
padding
:
6px
10
px
;
min-height
:
20px
;
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0
.05
);
...
...
app/views/issues/_show.html.haml
浏览文件 @
550274e1
%li
.wll
{
:id
=>
dom_id
(
issue
),
:class
=>
"issue #{issue.critical ? "
critical
" : ""}"
,
:url
=>
project_issue_path
(
issue
.
project
,
issue
)
}
.right
-
if
issue
.
notes
.
any?
%span
.label
=
pluralize
issue
.
notes
.
count
,
'comment'
-
if
can?
current_user
,
:modify_issue
,
issue
-
if
issue
.
closed
=
link_to
'Reopen'
,
project_issue_path
(
issue
.
project
,
issue
,
:issue
=>
{
:closed
=>
false
},
:status_only
=>
true
),
:method
=>
:put
,
:class
=>
"btn small"
,
:remote
=>
true
...
...
@@ -14,8 +16,6 @@
%span
.label.important
critical
-
if
issue
.
today?
%span
.label.success
today
-
if
issue
.
notes
.
any?
%span
.label
=
pluralize
issue
.
notes
.
count
,
'note'
-
if
issue
.
upvotes
>
0
%span
.label.success
=
"+
#{
issue
.
upvotes
}
"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录