summaryrefslogtreecommitdiff
path: root/app/views/issues/_show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/_show.html.haml')
-rw-r--r--app/views/issues/_show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_show.html.haml b/app/views/issues/_show.html.haml
index de8e8f76a6a..665e8ad0cb4 100644
--- a/app/views/issues/_show.html.haml
+++ b/app/views/issues/_show.html.haml
@@ -18,7 +18,7 @@
- if can? current_user, :write_issue, issue
- if issue.closed
= link_to 'Reopen', project_issue_path(@project, issue, :issue => {:closed => false }, :status_only => true), :method => :put, :class => "cgray", :remote => true
- - else
+ - else
= link_to 'Resolve', project_issue_path(@project, issue, :issue => {:closed => true }, :status_only => true), :method => :put, :class => "cgray", :remote => true
- if can? current_user, :write_issue, issue
= link_to 'Edit', edit_project_issue_path(@project, issue), :class => "cgray edit-issue-link", :remote => true