diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-25 13:12:49 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-25 13:12:49 -0800 |
commit | e6ea73c77600d413d370249b8e392734f7d1dbee (patch) | |
tree | c38eda740a3c09b3e5bf2099e7abf66d8fa2e101 | |
parent | 4a3c05b69355deee25767a74d0512ec4b510d4ef (diff) | |
parent | 2b5c61bdece1f7eb2b901ceea7d364065cdf76ac (diff) | |
download | gitlab-ce-e6ea73c77600d413d370249b8e392734f7d1dbee.tar.gz |
Merge pull request #468 from bencevans/patch-1
Title for a link fixed
-rw-r--r-- | app/views/issues/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/show.html.haml b/app/views/issues/show.html.haml index cba08650b02..13292d4e096 100644 --- a/app/views/issues/show.html.haml +++ b/app/views/issues/show.html.haml @@ -9,7 +9,7 @@ - if @issue.closed = link_to 'Reopen', project_issue_path(@project, @issue, :issue => {:closed => false }, :status_only => true), :method => :put, :class => "btn" - else - = link_to 'Close', project_issue_path(@project, @issue, :issue => {:closed => true }, :status_only => true), :method => :put, :class => "btn", :title => "Close merge request" + = link_to 'Close', project_issue_path(@project, @issue, :issue => {:closed => true }, :status_only => true), :method => :put, :class => "btn", :title => "Close Issue" - if can?(current_user, :admin_project, @project) || @issue.author == current_user = link_to edit_project_issue_path(@project, @issue), :class => "btn small" do Edit |