6 lines
228 B
Text
6 lines
228 B
Text
- unless can?(current_user, :push_code, @project)
|
|
.inline.gl-ml-3
|
|
- if @project.branch_allows_collaboration?(current_user, selected_branch)
|
|
= commit_in_single_accessible_branch
|
|
- else
|
|
= commit_in_fork_help
|