=link_to'Reopen',project_issue_path(issue.project,issue,:issue=>{:closed=>false},:status_only=>true),:method=>:put,:class=>"btn small grouped",:remote=>true
=link_to'Reopen',project_issue_path(issue.project,issue,:issue=>{:closed=>false},:status_only=>true),:method=>:put,:class=>"btn small grouped reopen_issue",:remote=>true
-else
=link_to'Resolve',project_issue_path(issue.project,issue,:issue=>{:closed=>true},:status_only=>true),:method=>:put,:class=>"success btn small grouped",:remote=>true
=link_to'Resolve',project_issue_path(issue.project,issue,:issue=>{:closed=>true},:status_only=>true),:method=>:put,:class=>"success btn small grouped close_issue",:remote=>true
=link_toedit_project_issue_path(issue.project,issue),:class=>"btn small edit-issue-link",:remote=>truedo