diff --git a/app/assets/images/move.png b/app/assets/images/move.png new file mode 100644 index 0000000..9d2d55d 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 fdfd2b8..bc15d8e 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 cf01020..3015725 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 0000000..41451a0 --- /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 -- libgit2 0.21.2