gitlab-org--gitlab-foss/app/views/shared/projects/_edit_information.html.haml

7 lines
236 B
Text
Raw Normal View History

- 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