gitlab-org--gitlab-foss/app/views/projects/issues/_new_branch.html.haml

6 lines
370 B
Plaintext
Raw Normal View History

2016-02-17 06:11:48 +00:00
- if current_user && can?(current_user, :push_code, @project) && @issue.can_be_worked_on?(current_user)
2016-02-12 18:42:25 +00:00
.pull-right
2016-03-24 11:09:42 +00:00
= link_to namespace_project_branches_path(@project.namespace, @project, branch_name: @issue.to_branch_name, issue_iid: @issue.iid), method: :post, class: 'btn has-tooltip', title: @issue.to_branch_name do
2016-02-12 18:42:25 +00:00
= icon('code-fork')
New Branch