Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_nav_btns.html.haml « merge_requests « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 511e53b192fa4b36e979af7b774de9b04cd01b31 (plain)
1
2
3
4
5
6
7
8
9
10
- issuable_type = 'merge-requests'
- notification_email = @current_user.present? ? @current_user.notification_email : nil

.js-csv-import-export-buttons{ data: { show_export_button: "true", issuable_type: issuable_type, issuable_count: issuables_count_for_state(issuable_type.to_sym, params[:state]), email: notification_email, export_csv_path: export_csv_project_merge_requests_path(@project, request.query_parameters), container_class: 'gl-mr-3' } }

- if @can_bulk_update
  = button_tag "Edit merge requests", class: "gl-button btn btn-default gl-mr-3 js-bulk-update-toggle"
- if merge_project
  = link_to new_merge_request_path, class: "gl-button btn btn-confirm", title: "New merge request" do
    New merge request