Sha256: df8e70d905600c0540b76c3eae81353af3ee68468a6f0c17c8fbc9a87683a150
Contents?: true
Size: 1.52 KB
Versions: 2
Compression:
Stored size: 1.52 KB
Contents
<div class="prev_next_links btn-group"> <%= link_to_previous_page @pagination, raw(t('views.pagination.previous')), params: search_state.to_h, param_name: blacklight_config.facet_paginator_class.request_keys[:page], class: 'btn btn-link', data: { blacklight_modal: "preserve" } do %> <%= content_tag :span, raw(t('views.pagination.previous')), class: 'disabled btn btn-disabled' %> <% end %> <%= link_to_next_page @pagination, raw(t('views.pagination.next')), params: search_state.to_h, param_name: blacklight_config.facet_paginator_class.request_keys[:page], class: 'btn btn-link', data: { blacklight_modal: "preserve" } do %> <%= content_tag :span, raw(t('views.pagination.next')), class: 'disabled btn btn-disabled' %> <% end %> </div> <div class="sort-options btn-group"> <% if @pagination.sort == 'index' -%> <span class="active az btn btn-outline-secondary"><%= t('blacklight.search.facets.sort.index') %></span> <%= link_to(t('blacklight.search.facets.sort.count'), @pagination.params_for_resort_url('count', search_state.to_h), class: "sort_change numeric btn btn-outline-secondary", data: { blacklight_modal: "preserve" }) %> <% elsif @pagination.sort == 'count' -%> <%= link_to(t('blacklight.search.facets.sort.index'), @pagination.params_for_resort_url('index', search_state.to_h), class: "sort_change az btn btn-outline-secondary", data: { blacklight_modal: "preserve" }) %> <span class="active numeric btn btn-outline-secondary"><%= t('blacklight.search.facets.sort.count') %></span> <% end -%> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight-7.7.0 | app/views/catalog/_facet_pagination.html.erb |
blacklight-7.6.0 | app/views/catalog/_facet_pagination.html.erb |