%h1
  Closed merge requests for #{@project.name}
%p
  There #{@total > 1 ? 'are' : 'is'} a total of #{pluralize(@total, 'merge request')}
  #{search_request? ? 'found' : 'closed'},
  but better worry about the #{link_to 'pending code reviews', project_merge_requests_path(@project)}.
= render partial: 'search'
= render partial: 'list', locals: { mrs: @mrs, title: ['Finished review', 'Finished reviews'] }

%h1
  Closed merge requests for #{@project.name}
%p
  There #{@total > 1 ? 'are' : 'is'} a total of #{pluralize(@total, 'merge request')}
  #{search_request? ? 'found' : 'closed'},
  but better worry about the #{link_to 'pending code reviews', project_merge_requests_path(@project)}.
= render partial: 'search'
= render partial: 'list', locals: { mrs: @mrs,
                                    title: ['Finished review', 'Finished reviews'],
                                    on_empty: 'Nothing found' }

Fix stupid bug when nothing was found in a search.
Fix stupid bug when nothing was found in a search.
