2018-02-28 08:06:18 +00:00
|
|
|
- unless can?(current_user, :push_code, @project)
|
2020-07-17 09:09:43 +00:00
|
|
|
.inline.gl-ml-3
|
2018-05-23 01:54:57 +00:00
|
|
|
- if @project.branch_allows_collaboration?(current_user, selected_branch)
|
2018-02-28 08:06:18 +00:00
|
|
|
= commit_in_single_accessible_branch
|
|
|
|
- else
|
|
|
|
= commit_in_fork_help
|