Sha256: 51604ad4b4b6642964ad2603a907ce66d00520269b0fa7fd8ffaba4ca91cc3f5

Contents?: true

Size: 656 Bytes

Versions: 8

Compression:

Stored size: 656 Bytes

Contents

<% @relations.descendants['docs'][0..2].each do |descendant| %>
  <li class="list-group-item border-bottom-0">
    <%= link_to solr_document_path(descendant[Settings.FIELDS.UNIQUE_KEY]) do %>
      <%= relations_icon(descendant, 'leaf') %>
      <%= descendant[Settings.FIELDS.TITLE] %>
    <% end %>
  </li>
<% end %>
<% unless (@relations.descendants['numFound'].to_i <= 3) %>
  <li class="list-group-item border-bottom-0">
    <%= link_to search_catalog_path({f: {"#{Settings.FIELDS.SOURCE}" => [@relations.link_id]}}) do %>
      <%= t('geoblacklight.relations.browse_all', count: @relations.descendants['numFound']) %>
    <% end %>
  </li>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
geoblacklight-3.8.1 app/views/relation/_descendants.html.erb
geoblacklight-3.8.0 app/views/relation/_descendants.html.erb
geoblacklight-3.7.0 app/views/relation/_descendants.html.erb
geoblacklight-3.6.0 app/views/relation/_descendants.html.erb
geoblacklight-3.5.0 app/views/relation/_descendants.html.erb
geoblacklight-3.4.0 app/views/relation/_descendants.html.erb
geoblacklight-3.3.1 app/views/relation/_descendants.html.erb
geoblacklight-3.3.0 app/views/relation/_descendants.html.erb