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