Sha256: 0450850537e1206cacda8be3d72759baab92fa50faa04b5b8acd7d36a56ed2c5

Contents?: true

Size: 757 Bytes

Versions: 9

Compression:

Stored size: 757 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="per-page-dropdown btn-group">
  <button type="button" class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
    <%= t(:'blacklight.search.per_page.button_label_html', :count => current_per_page) %> <span class="caret"></span>
  </button>
  <div class="dropdown-menu dropdown-menu-right" role="menu">
    <%- per_page_options_for_select.each do |(label, count)| %>
      <%= link_to(label, url_for(search_state.params_for_search(per_page: count)), class: 'dropdown-item', role: 'menuitem') %>
    <%- end -%>
  </div>
</div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blacklight-7.10.0 app/views/catalog/_per_page_widget.html.erb
blacklight-7.9.0 app/views/catalog/_per_page_widget.html.erb
blacklight-7.8.1 app/views/catalog/_per_page_widget.html.erb
blacklight-7.8.0 app/views/catalog/_per_page_widget.html.erb
blacklight-7.7.0 app/views/catalog/_per_page_widget.html.erb
blacklight-7.6.0 app/views/catalog/_per_page_widget.html.erb
blacklight-7.5.1 app/views/catalog/_per_page_widget.html.erb
blacklight-7.5.0 app/views/catalog/_per_page_widget.html.erb
blacklight-7.4.2 app/views/catalog/_per_page_widget.html.erb