Issues list more compact now

This commit is contained in:
randx 2012-06-26 22:23:49 +03:00
parent 88c625e3f7
commit cbca0457f8
3 changed files with 30 additions and 15 deletions

View file

@ -616,10 +616,11 @@ li.note {
float:left;
margin-right:20px;
.icon {
width:16px;
height:16px;
width:12px;
height:12px;
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: 10px;
margin-top: 14px;
.icon {
width:16px;
height:16px;
width:8px;
height:8px;
float:left;
margin-right:5px;
@include border-radius(4px);

View file

@ -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;
}
}
}

View file

@ -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"
%span.update-author
Unassigned
- 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)
%span.update-author
- if issue.assignee
assigned to #{issue.assignee_name}
- else
 
- if issue.upvotes > 0
%span.badge.badge-success= "+#{issue.upvotes}"