Sha256: 66d1b6f013fcdba76dddae9e2343565a73cb12abac5705f3e068395cfa526b03
Contents?: true
Size: 1.5 KB
Versions: 5
Compression:
Stored size: 1.5 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' %> <% 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' %> <% 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
5 entries across 5 versions & 1 rubygems