Sha256: 97a77c8a29d944834601c3d2f051d60a2e8dcff3604956b6a523c0bd1383a0da

Contents?: true

Size: 615 Bytes

Versions: 4

Compression:

Stored size: 615 Bytes

Contents

  <% if @response.docs.total_pages > 1 %>
    <div class="pagination">
      <% # will_paginate is called oddly because we want next/prev together
         # at left for screen reader accessibility. We use CSS to restore
         # a more conventional next-on-right. 
      %>
      <h2>Results navigation</h2>
      <%= will_paginate @response.docs, :page_links => false, :container => false, :renderer => Blacklight::CommaLinkRenderer %>
      <%= will_paginate @response.docs, :next_label => '', :previous_label => '', :class => "page_links", :renderer => Blacklight::CommaLinkRenderer %>
    </div>
  <% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-3.0.0pre4 app/views/catalog/_results_pagination.html.erb
blacklight-3.0.0pre3 app/views/catalog/_results_pagination.html.erb
blacklight-3.0pre2 app/views/catalog/_results_pagination.html.erb
blacklight-3.0pre1 app/views/catalog/_results_pagination.html.erb