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