diff options
author | Ben Evans <ben.evans@ampfieldelectrical.co.uk> | 2012-02-25 11:03:44 +0000 |
---|---|---|
committer | Ben Evans <ben.evans@ampfieldelectrical.co.uk> | 2012-02-25 11:03:44 +0000 |
commit | 2b5c61bdece1f7eb2b901ceea7d364065cdf76ac (patch) | |
tree | c81dd58b7f45a89590a713accc0ac515959e0700 | |
parent | 460eeb13b7560b40104044973ff933b1a6dbbcaa (diff) | |
download | gitlab-ce-2b5c61bdece1f7eb2b901ceea7d364065cdf76ac.tar.gz |
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 |