BigW Consortium Gitlab

index.html.haml 755 Bytes
Newer Older
1
- page_title "Merge Requests"
2 3
= render "header_title"

4
= render 'projects/last_push'
5 6 7 8

.top-area
  = render 'shared/issuable/nav', type: :merge_requests
  .nav-controls
9
    = render 'shared/issuable/search_form', path: namespace_project_merge_requests_path(@project.namespace, @project)
10

Josh Frye committed
11
    - merge_project = can?(current_user, :create_merge_request, @project) ? @project : (current_user && current_user.fork_of(@project))
12
    - if merge_project
13 14 15 16 17 18
      = link_to new_namespace_project_merge_request_path(merge_project.namespace, merge_project), class: "btn btn-new", title: "New Merge Request" do
        = icon('plus')
        New Merge Request

= render 'shared/issuable/filter', type: :merge_requests

19 20
.merge-requests-holder
  = render 'merge_requests'