Sha256: 0997c21d098634e578eb3aca38e6ea10f9319fff42ef01b09f0b85e52fcbaf8e

Contents?: true

Size: 1.71 KB

Versions: 45

Compression:

Stored size: 1.71 KB

Contents

    <div class="prev_next_links btn-group pull-left">
      <%= link_to_previous_page @pagination, raw(t('views.pagination.previous')), route_set: hyrax, params: search_state.to_h, param_name: Blacklight::Solr::FacetPaginator.request_keys[:page], class: 'btn btn-link', data: {ajax_modal: "preserve"} do %>
       <span class="disabled btn btn-disabled"><%= raw(t('views.pagination.previous')) %></span>
     <% end %>
      <%= link_to_next_page @pagination, raw(t('views.pagination.next')), route_set: hyrax, params: search_state.to_h, param_name: Blacklight::Solr::FacetPaginator.request_keys[:page], class: 'btn btn-link',  data: {ajax_modal: "preserve"} do %>

       <span class="disabled btn  btn-disabled"><%= raw(t('views.pagination.next')) %></span>
      <% end %>

    </div>

  <div class="sort_options btn-group pull-right">
    <% if @pagination.sort == 'index' -%>
      <span class="active az btn btn-default"><%= t('blacklight.search.facets.sort.index') %></span><%= link_to_unless(@pagination.sort == 'count', t('blacklight.search.facets.sort.count'),
        Hyrax::Engine.routes.url_for(@pagination.params_for_resort_url('count', search_state.to_h).symbolize_keys.merge(only_path: true)),
        class: "sort_change numeric btn btn-default",
        data: {ajax_modal: "preserve"}) %>
    <% elsif @pagination.sort == 'count' -%>
      <%= link_to(t('blacklight.search.facets.sort.index'), Hyrax::Engine.routes.url_for(@pagination.params_for_resort_url('index', search_state.to_h).symbolize_keys.merge(only_path: true)),
        class: "sort_change az btn btn-default",  data: {ajax_modal: "preserve"}) %><span class="active numeric btn btn-default"><%= t('blacklight.search.facets.sort.count') %></span>
    <% end -%>
  </div>

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
hyrax-3.4.0 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-3.3.0 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-3.2.0 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.9.6 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-3.1.0 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.9.5 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-3.0.2 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-3.0.1 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-3.0.0 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-3.0.0.pre.rc4 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.9.4 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-3.0.0.pre.rc3 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.9.3 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.9.2 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.9.1 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.9.0 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-3.0.0.pre.rc2 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.8.0 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.7.2 app/views/hyrax/my/_facet_pagination.html.erb
hyrax-2.7.1 app/views/hyrax/my/_facet_pagination.html.erb