Skip to content

Commit

Permalink
remove results per page text from search pages
Browse files Browse the repository at this point in the history
  • Loading branch information
robramsaynz committed Apr 8, 2015
1 parent a4b88c4 commit 092260b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/views/search/_results.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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 092260b

Please sign in to comment.