summaryrefslogtreecommitdiff
path: root/app/views/issues
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-26 10:17:09 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-26 10:17:09 +0200
commit573942263adf806b6eb61d04ba6e748334a4a519 (patch)
treefe9370d3016f2b754072b65ff13d9a4b015ecc9d /app/views/issues
parentc9b1df1201dccded5fdfb4835209af9c0f258c55 (diff)
downloadgitlab-ce-573942263adf806b6eb61d04ba6e748334a4a519.tar.gz
Fix issue edit button showup
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/show.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/issues/show.html.haml b/app/views/issues/show.html.haml
index 2997cde1ed2..70f94e52942 100644
--- a/app/views/issues/show.html.haml
+++ b/app/views/issues/show.html.haml
@@ -12,10 +12,9 @@
- else
= link_to 'Close', project_issue_path(@project, @issue, issue: {state_event: :close }, status_only: true), method: :put, class: "btn grouped close_issue", title: "Close Issue"
- - if can?(current_user, :admin_issue, @issue)
= link_to edit_project_issue_path(@project, @issue), class: "btn grouped" do
%i.icon-edit
- Edit
+ Edit
.pull-right
.span3#votes= render 'votes/votes_block', votable: @issue