Sha256: a66af6d226401247b51734609078dae6a33f361fd84537cf8acb0ef0a88606ee

Contents?: true

Size: 695 Bytes

Versions: 10

Compression:

Stored size: 695 Bytes

Contents

<% if show_sort_and_per_page? and !blacklight_config.per_page.blank? %>

  <span class="sr-only"><%= t('blacklight.search.per_page.title') %></span>
<div id="per_page-dropdown" class="btn-group">
  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><%= link_to(t(:'blacklight.search.per_page.button_label', :count => current_per_page), "#") %> <span class="caret"></span></button>
  <ul class="dropdown-menu">
        <%- blacklight_config.per_page.each do |count| %>
          <li><%= link_to(t(:'blacklight.search.per_page.label', :count => count).html_safe, url_for(params_for_search(:per_page => count))) %></li>
        <%- end -%>
  </ul>
</div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
blacklight-5.0.3 app/views/catalog/_per_page_widget.html.erb
blacklight-5.1.1 app/views/catalog/_per_page_widget.html.erb
blacklight-5.1.0 app/views/catalog/_per_page_widget.html.erb
blacklight-5.0.2 app/views/catalog/_per_page_widget.html.erb
blacklight-5.0.1 app/views/catalog/_per_page_widget.html.erb
blacklight-5.0.0 app/views/catalog/_per_page_widget.html.erb
blacklight-5.0.0.pre4 app/views/catalog/_per_page_widget.html.erb
blacklight-5.0.0.pre3 app/views/catalog/_per_page_widget.html.erb
blacklight-5.0.0.pre2 app/views/catalog/_per_page_widget.html.erb
blacklight-5.0.0.pre1 app/views/catalog/_per_page_widget.html.erb