Skip to content
代码片段 群组 项目
提交 57394226 编辑于 作者: Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
浏览文件

Fix issue edit button showup

上级 c9b1df12
No related branches found
No related tags found
无相关合并请求
......@@ -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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册