blob: 9230e045a81fdcc8468c2406a1c7b648866c9e3a (
plain)
1
2
3
4
5
6
|
- unless can?(current_user, :push_code, @project)
.inline.prepend-left-10
- if @project.branch_allows_collaboration?(current_user, selected_branch)
= commit_in_single_accessible_branch
- else
= commit_in_fork_help
|