Commit e6bba9be4f0400471170e9d86f3ef15344416f2f
1 parent
df016465
Exists in
master
and in
4 other branches
icon for handler of sortable
Showing
4 changed files
with
13 additions
and
1 deletions
Show diff stats
260 Bytes
app/assets/stylesheets/projects.css.scss
@@ -543,3 +543,9 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | @@ -543,3 +543,9 @@ tbody tr:nth-child(2n) td, tbody tr.even td { | ||
543 | .handle:hover{ | 543 | .handle:hover{ |
544 | cursor: move; | 544 | cursor: move; |
545 | } | 545 | } |
546 | + | ||
547 | +.handle{ | ||
548 | + width: 12px; | ||
549 | + height: 12px; | ||
550 | + padding: 10px; | ||
551 | +} |
app/views/issues/_show.html.haml
1 | %tr{ :id => dom_id(issue), :class => "issue", :url => project_issue_path(@project, issue) } | 1 | %tr{ :id => dom_id(issue), :class => "issue", :url => project_issue_path(@project, issue) } |
2 | %td | 2 | %td |
3 | - = image_tag gravatar_icon(issue.assignee.email), :class => ["left", "handle"], :width => 40, :style => "padding:0 5px;" | 3 | + = image_tag "move.png" , :class => [:handle, :left] |
4 | + = image_tag gravatar_icon(issue.assignee.email), :class => "left", :width => 40, :style => "padding:0 5px;" | ||
4 | = truncate issue.assignee.name, :lenght => 20 | 5 | = truncate issue.assignee.name, :lenght => 20 |
5 | %td ##{issue.id} | 6 | %td ##{issue.id} |
6 | %td= html_escape issue.title | 7 | %td= html_escape issue.title |