Permalink
Browse files

Merge pull request #74 from kete/rr/rmv-search-text

Remove results-per-page text from the search page
  • Loading branch information...
eoinkelly committed Apr 8, 2015
2 parents 5f1aef6 + 092260b commit df152df1be4cf275816b73890c6c2d8e7ba68c73
Showing with 0 additions and 8 deletions.
  1. +0 −8 app/views/search/_results.html.haml
@@ -97,12 +97,4 @@
- if current_user_can_see_add_links? && scope.current_content_item_type != 'Comment'
= scope.link_to_add_item(:phrase => t('search.results.add_a_new'), :item_class => scope.current_content_item_type)
\ 
#showlinks
= t 'search.results.show'
- SystemSetting.records_per_page_choices.each do |choice|
- if scope.number_per_page != choice
= link_to(choice, { :overwrite_params => { :number_of_results_per_page => choice, :page => 1 } }, { :tabindex => '1', :rel => 'nofollow' })
- else
%a#thisnumber{:href => "#"}= choice
= t 'search.results.results_on_this_page'
.cleaner  

0 comments on commit df152df

Please sign in to comment.