Merge pull request #3396 from Andrew8xx8/issue-button-fix
New issue button was not follows to external tracker if it is selected. ...
This commit is contained in:
commit
c918000bc2
4 changed files with 50 additions and 3 deletions
|
@ -13,5 +13,5 @@
|
|||
= link_to new_project_merge_request_path(@project), title: "New Merge Request", class: "btn-small btn grouped" do
|
||||
Merge Request
|
||||
- if @project.issues_enabled && can?(current_user, :write_issue, @project)
|
||||
= link_to new_project_issue_path(@project), title: "New Issue", class: "btn-small btn grouped" do
|
||||
= link_to url_for_new_issue, title: "New Issue", class: "btn-small btn grouped" do
|
||||
Issue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue