Sha256: 6b48b2b93f9b8d40d0a3c5575ba760e4240634a1761ee3bb36b38da668f4f406

Contents?: true

Size: 1.31 KB

Versions: 24

Compression:

Stored size: 1.31 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' do %>
       <span class="disabled btn"><%= 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' do %>
       
       <span class="disabled btn"><%= 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"><%= 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") %>
    <% elsif @pagination.sort == 'count' -%>
      <%=  link_to(t('blacklight.search.facets.sort.index'), @pagination.params_for_resort_url('index', params), 
        :class => "sort_change az btn") %><span class="active numeric btn"><%= t('blacklight.search.facets.sort.count') %></span>
    <% end -%>    
  </div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
blacklight-4.0.0.rc2 app/views/catalog/_facet_pagination.html.erb
blacklight-4.0.0.rc1 app/views/catalog/_facet_pagination.html.erb
blacklight-4.0.0.pre7 app/views/catalog/_facet_pagination.html.erb
blacklight-4.0.0.pre6 app/views/catalog/_facet_pagination.html.erb