80b2f3fb86
It is same search like we have at issues page. It allows to quickly filter merge requests based on title or desription. I copy-pasted some js code from Issues.js. In future search (filtering) logic should be refactoed into one class for merge requests and issues
13 lines
352 B
Text
13 lines
352 B
Text
.panel.panel-default
|
|
%ul.well-list.mr-list
|
|
= render @merge_requests
|
|
- if @merge_requests.blank?
|
|
%li
|
|
.nothing-here-block No merge requests to show
|
|
|
|
- if @merge_requests.present?
|
|
.pull-right
|
|
%span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter
|
|
|
|
= paginate @merge_requests, theme: "gitlab"
|
|
|