diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 6cd71ac6..b8802527 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -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); diff --git a/app/assets/stylesheets/sections/issues.scss b/app/assets/stylesheets/sections/issues.scss index a3bd408b..58ef8a12 100644 --- a/app/assets/stylesheets/sections/issues.scss +++ b/app/assets/stylesheets/sections/issues.scss @@ -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; + } + } +} diff --git a/app/views/issues/_show.html.haml b/app/views/issues/_show.html.haml index b6b5d72d..fe9b6b37 100644 --- a/app/views/issues/_show.html.haml +++ b/app/views/issues/_show.html.haml @@ -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}" + +