Sha256: 54d56a9f9aba32943942ac6a86a8b652a540b6bc24e5462e664940f5053ab355

Contents?: true

Size: 1.56 KB

Versions: 35

Compression:

Stored size: 1.56 KB

Contents

    <div class="prev_next_links btn-group pull-left">
      <%= link_to_previous_page @pagination, raw(t('views.pagination.previous')), :params => params, :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')), :params => params, :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'), 
        @pagination.params_for_resort_url('count', params), :class => "sort_change numeric btn btn-default",  
        :data => {:ajax_modal => "preserve"}) %>
    <% elsif @pagination.sort == 'count' -%>
      <%=  link_to(t('blacklight.search.facets.sort.index'), @pagination.params_for_resort_url('index', params), 
        :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

35 entries across 35 versions & 1 rubygems

Version Path
blacklight-5.13.1 app/views/catalog/_facet_pagination.html.erb
blacklight-5.13.0 app/views/catalog/_facet_pagination.html.erb
blacklight-5.11.3 app/views/catalog/_facet_pagination.html.erb
blacklight-5.12.1 app/views/catalog/_facet_pagination.html.erb
blacklight-5.12.0 app/views/catalog/_facet_pagination.html.erb
blacklight-5.10.3 app/views/catalog/_facet_pagination.html.erb
blacklight-5.9.4 app/views/catalog/_facet_pagination.html.erb
blacklight-5.11.2 app/views/catalog/_facet_pagination.html.erb
blacklight-5.11.1 app/views/catalog/_facet_pagination.html.erb
blacklight-5.11.0 app/views/catalog/_facet_pagination.html.erb
blacklight-5.10.2 app/views/catalog/_facet_pagination.html.erb
blacklight-5.10.1 app/views/catalog/_facet_pagination.html.erb
blacklight-5.10.0 app/views/catalog/_facet_pagination.html.erb
blacklight-5.9.3 app/views/catalog/_facet_pagination.html.erb
blacklight-5.9.2 app/views/catalog/_facet_pagination.html.erb
blacklight-5.9.1 app/views/catalog/_facet_pagination.html.erb
blacklight-5.9.0 app/views/catalog/_facet_pagination.html.erb
blacklight-5.8.2 app/views/catalog/_facet_pagination.html.erb
blacklight-5.8.1 app/views/catalog/_facet_pagination.html.erb
blacklight-5.8.0 app/views/catalog/_facet_pagination.html.erb