Sha256: d9362f15deda5023788b6d0c2d0486eb41ebfb7592aa44a568ea4e60f6db1159
Contents?: true
Size: 1.42 KB
Versions: 6
Compression:
Stored size: 1.42 KB
Contents
<% if @pagination.has_previous? || @pagination.has_next? %> <div class="prev_next_links"> <% if @pagination.has_previous? -%> <%= link_to(raw(t('views.pagination.previous')), catalog_facet_path( @pagination.params_for_previous_url( params) ) , :class=>:prev_page) %> <% else -%> <span class="disabled ui-state-active prev_page"><%= raw(t 'views.pagination.previous') %></span> <% end -%> <% if @pagination.has_next? -%> <%= link_to(raw(t('views.pagination.next')), catalog_facet_path( @pagination.params_for_next_url(params)), :class => :next_page ) %> <% else -%> <span class="disabled ui-state-active next_page"><%= raw(t 'views.pagination.next') %></span> <% end -%> </div> <% end %> <div class="sort_options"> <% if @pagination.sort == 'index' -%> <span class="disabled az"><%= 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") %> <% elsif @pagination.sort == 'count' -%> <%= link_to(t('blacklight.search.facets.sort.index'), @pagination.params_for_resort_url('index', params), :class => "sort_change az") %><span class="disabled numeric"><%= t('blacklight.search.facets.sort.count') %></span> <% end -%> </div>
Version data entries
6 entries across 6 versions & 1 rubygems