Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
cbca0457
Commit
cbca0457
authored
Jun 26, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issues list more compact now
parent
88c625e3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
15 deletions
+30
-15
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+6
-5
app/assets/stylesheets/sections/issues.scss
app/assets/stylesheets/sections/issues.scss
+13
-0
app/views/issues/_show.html.haml
app/views/issues/_show.html.haml
+11
-10
No files found.
app/assets/stylesheets/common.scss
View file @
cbca0457
...
...
@@ -616,10 +616,11 @@ li.note {
float
:left
;
margin-right
:
20px
;
.icon
{
width
:
1
6
px
;
height
:
1
6
px
;
width
:
1
2
px
;
height
:
1
2
px
;
float
:left
;
margin-right
:
5px
;
margin-top
:
2px
;
@include
border-radius
(
4px
);
&
.critical
{
background
:
#EAA
;
...
...
@@ -652,10 +653,10 @@ li.note {
.issue
{
.list_legend
{
margin-right
:
5px
;
margin-top
:
1
0
px
;
margin-top
:
1
4
px
;
.icon
{
width
:
16
px
;
height
:
16
px
;
width
:
8
px
;
height
:
8
px
;
float
:left
;
margin-right
:
5px
;
@include
border-radius
(
4px
);
...
...
app/assets/stylesheets/sections/issues.scss
View file @
cbca0457
...
...
@@ -26,4 +26,17 @@
}
}
#issues-table
{
.issue
{
padding
:
7px
10px
;
img
.avatar
{
width
:
32px
;
margin-top
:
4px
;
}
p
.row_title
{
padding
:
0px
;
padding-bottom
:
2px
;
}
}
}
app/views/issues/_show.html.haml
View file @
cbca0457
...
...
@@ -17,18 +17,19 @@
-
if
issue
.
assignee
=
image_tag
gravatar_icon
(
issue
.
assignee_email
),
:class
=>
"avatar"
%span
.update-author
assigned to
%strong
=
issue
.
assignee_name
-
if
issue
.
upvotes
>
0
%span
.badge.badge-success
=
"+
#{
issue
.
upvotes
}
"
-
else
=
image_tag
"no_avatar.png"
,
:class
=>
"avatar"
=
link_to
project_issue_path
(
issue
.
project
,
issue
)
do
%p
.row_title
=
truncate
(
issue
.
title
,
:length
=>
100
)
%span
.update-author
Unassigned
-
if
issue
.
assignee
assigned to
#{
issue
.
assignee_name
}
-
else
-
if
issue
.
upvotes
>
0
%span
.badge.badge-success
=
"+
#{
issue
.
upvotes
}
"
=
link_to
project_issue_path
(
issue
.
project
,
issue
)
do
%p
.row_title
=
truncate
(
issue
.
title
,
:length
=>
100
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment