Sha256: 38b95adf11fcf6b62085b1fec4b7a45ee7233c6bdda4eb2316e871f15b4223c7
Contents?: true
Size: 1.01 KB
Versions: 9
Compression:
Stored size: 1.01 KB
Contents
<% browse_block.with_solr_helper(self) %> <% if browse_block.searches? %> <div class="spotlight-flexbox browse-categories categories-<%= browse_block.searches.length %>" data-sidebar='<%= @page.display_sidebar? %>'> <% browse_block.searches.each_with_index do |search, index| %> <div class="box category-<%= (index + 1) %>"> <%= link_to spotlight.exhibit_browse_path(search.exhibit, search) do %> <div class="browse-category" style='background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url("<%= search.thumbnail.iiif_url if search.thumbnail %>")'> <div class="category-caption"> <p class="category-title"> <%= search.title %> </p> <% if browse_block.display_item_counts? %> <span class="item-count"><%= t(:'.items', count: search.count) %></span> <% end %> </div> </div> <% end %> </div> <% end %> </div> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems