diff --git a/app/assets/images/move.png b/app/assets/images/move.png new file mode 100644 index 0000000000000000000000000000000000000000..9d2d55ddf0b460d8effa80bca82340f5a6ca3341 Binary files /dev/null and b/app/assets/images/move.png differ diff --git a/app/assets/stylesheets/projects.css.scss b/app/assets/stylesheets/projects.css.scss index fdfd2b8653b8c1ad709b493a593bf8a5d177d7dc..bc15d8e2c12902045de00b151e7ce28c230011a9 100644 --- a/app/assets/stylesheets/projects.css.scss +++ b/app/assets/stylesheets/projects.css.scss @@ -543,3 +543,9 @@ tbody tr:nth-child(2n) td, tbody tr.even td { .handle:hover{ cursor: move; } + +.handle{ + width: 12px; + height: 12px; + padding: 10px; +} diff --git a/app/views/issues/_show.html.haml b/app/views/issues/_show.html.haml index cf01020806a23bcce576db01d90217e5d2522d10..30157257ff57571ce0171d6cd0dc80069c141167 100644 --- a/app/views/issues/_show.html.haml +++ b/app/views/issues/_show.html.haml @@ -1,6 +1,7 @@ %tr{ :id => dom_id(issue), :class => "issue", :url => project_issue_path(@project, issue) } %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 %td ##{issue.id} %td= html_escape issue.title diff --git a/db/migrate/20111015154310_add_position_to_issues.rb b/db/migrate/20111015154310_add_position_to_issues.rb new file mode 100644 index 0000000000000000000000000000000000000000..41451a0cabb971d6d43f9cf35ca02abf85e58508 --- /dev/null +++ b/db/migrate/20111015154310_add_position_to_issues.rb @@ -0,0 +1,5 @@ +class AddPositionToIssues < ActiveRecord::Migration + def change + add_column :issues, :position, :integer, :default => 0 + end +end