Commit 3226b4fe authored by VSizov's avatar VSizov

icon for handler of sortable

parent 5d7421af
...@@ -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 {
.handle:hover{ .handle:hover{
cursor: move; cursor: move;
} }
.handle{
width: 12px;
height: 12px;
padding: 10px;
}
%tr{ :id => dom_id(issue), :class => "issue", :url => project_issue_path(@project, issue) } %tr{ :id => dom_id(issue), :class => "issue", :url => project_issue_path(@project, issue) }
%td %td
= image_tag gravatar_icon(issue.assignee.email), :class => ["left", "handle"], :width => 40, :style => "padding:0 5px;" = image_tag "move.png" , :class => [:handle, :left]
= image_tag gravatar_icon(issue.assignee.email), :class => "left", :width => 40, :style => "padding:0 5px;"
= truncate issue.assignee.name, :lenght => 20 = truncate issue.assignee.name, :lenght => 20
%td ##{issue.id} %td ##{issue.id}
%td= html_escape issue.title %td= html_escape issue.title
......
class AddPositionToIssues < ActiveRecord::Migration
def change
add_column :issues, :position, :integer, :default => 0
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment