debian-mirror-gitlab/app/views/shared/projects/_edit_information.html.haml
2018-03-27 19:54:05 +05:30

6 lines
238 B
Text

- unless can?(current_user, :push_code, @project)
.inline.prepend-left-10
- if @project.branch_allows_maintainer_push?(current_user, selected_branch)
= commit_in_single_accessible_branch
- else
= commit_in_fork_help