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