Sha256: 4d907ce40db0224dcb4367418866f2d6f7459b7e0452abaf46aa46a4737692c0
Contents?: true
Size: 899 Bytes
Versions: 5
Compression:
Stored size: 899 Bytes
Contents
<% paginator = Blacklight::Solr::FacetPaginator.new(display_facet.items, limit: facet_limit_for(solr_field)) %> <ul class="slide-list"> <% paginator.items.each do |item| -%> <li> <% if facet_in_params?( solr_field, item.value ) %> <%= render_selected_facet_value(solr_field, item).split("(").join('(<small>').split(")").join("</small>)").html_safe %> <% else %> <%= render_facet_value(solr_field, item).split("(").join('(<small>').split(")").join("</small>)").html_safe %> <% end -%> </li> <% end %> <% if(paginator.has_next?) %> <li class="more_facets_link"><%= link_to 'more ' + facet_field.label.pluralize + 'ยป', sufia.url_for(params.merge(:id => solr_field, :action=>"facet", :path_only=>true)), :class => "more_facets_link" %></li> <% end %> </ul> <!-- /slide-list -->
Version data entries
5 entries across 5 versions & 1 rubygems