Sha256: d749ec04f230eae48d2b774e581d6328ac012b4b343c8802a204e5e13175b0d4

Contents?: true

Size: 944 Bytes

Versions: 13

Compression:

Stored size: 944 Bytes

Contents

  <%# This template is used to render the initial facet list (#index action)
      and a paginated facet list in a modal (#facet action). The `dropdown-menu`
      class in only necessary for the former and causes display issues in the latter.
  -%>
  <ul class="<%= 'dropdown-menu ' if action_name == 'index' %>facet-values" aria-labelledby="<%= facet_field.field.parameterize %>">
    <% paginator = facet_paginator(facet_field, display_facet) %>
    <%= render_facet_limit_list paginator, facet_field.key %>

    <% unless paginator.last_page? || params[:action] == "facet" %>
      <li role="separator" class="divider"></li>
      <li class="more_facets_link">
        <%= link_to t("more_#{field_name}_html", scope: 'blacklight.search.facets', default: :more_html, field_name: facet_field_label(facet_field.field).pluralize),
          search_facet_path(id: facet_field.key), class: "more_facets_link" %>
      </li>
    <% end %>
  </ul>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hyrax-2.0.3 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.2 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.1.0.beta1 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.1 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.0 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/my/_facet_limit.html.erb