Sha256: eb16e762bd8d02d2f4082c82c38cd5b013b3927ce274a3049ecb78c1bbf8b23c
Contents?: true
Size: 782 Bytes
Versions: 3
Compression:
Stored size: 782 Bytes
Contents
<li class="list-group-item relations-descendants"> <b><%= t('geoblacklight.relations.descendant', count: @relations.descendants['numFound']) %></b> </li> <% @relations.descendants['docs'][0..2].each do |descendant| %> <li class="list-group-item"> <%= link_to solr_document_path(descendant['layer_slug_s']) do %> <span class='geoblacklight geoblacklight-relations-descendant'></span> <%= descendant['dc_title_s'] %> <% end %> </li> <% end %> <% unless (@relations.descendants['numFound'].to_i <= 3) %> <li class="list-group-item"> <%= 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
geoblacklight-2.1.2 | app/views/relation/_descendants.html.erb |
geoblacklight-2.1.1 | app/views/relation/_descendants.html.erb |
geoblacklight-2.1.0 | app/views/relation/_descendants.html.erb |