Sha256: c364da7f5a4ab36b90b2c7756d2ab2867837c6f05288dcdbef95bc7137789b21

Contents?: true

Size: 942 Bytes

Versions: 7

Compression:

Stored size: 942 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

7 entries across 7 versions & 1 rubygems

Version Path
hyrax-2.2.0 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.1.0 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.1.0.rc4 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.1.0.rc3 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.1.0.rc2 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.1.0.rc1 app/views/hyrax/my/_facet_limit.html.erb
hyrax-2.1.0.beta2 app/views/hyrax/my/_facet_limit.html.erb