summaryrefslogtreecommitdiff
path: root/app/views/shared/projects/_edit_information.html.haml
blob: 5a2f43288371d7721da4779ffa3e498c967005b3 (plain)
1
2
3
4
5
6
- 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