=link_to'Reopen',project_issue_path(issue.project,issue,:issue=>{:closed=>false},:status_only=>true),:method=>:put,:class=>"btn small padded",:remote=>true
-else
=link_to'Resolve',project_issue_path(issue.project,issue,:issue=>{:closed=>true},:status_only=>true),:method=>:put,:class=>"success btn small padded",:remote=>true
=link_to'Edit',edit_project_issue_path(issue.project,issue),:class=>"btn small edit-issue-link",:remote=>true
=link_toedit_project_issue_path(issue.project,issue),:class=>"btn small edit-issue-link",:remote=>truedo
=link_to'Close',project_merge_request_path(@project,@merge_request,:merge_request=>{:closed=>true},:status_only=>true),:method=>:put,:class=>"btn small padded",:title=>"Close merge request"
=link_toedit_project_merge_request_path(@project,@merge_request),:class=>"btn small padded"do