debian-mirror-gitlab/app/views/projects/merge_requests/index.html.haml

12 lines
495 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
.append-bottom-10
.pull-right
= render 'shared/issuable_search_form', path: namespace_project_merge_requests_path(@project.namespace, @project)
- if can? current_user, :write_merge_request, @project
= link_to new_namespace_project_merge_request_path(@project.namespace, @project), class: "btn btn-new pull-left", title: "New Merge Request" do
%i.fa.fa-plus
New Merge Request
= render 'shared/issuable_filter'
.merge-requests-holder
= render 'merge_requests'