Sha256: 95e0aab3987255a391149dfb207a3e47124750296c89d6fde6ea7b97ec4d14ad

Contents?: true

Size: 892 Bytes

Versions: 44

Compression:

Stored size: 892 Bytes

Contents

<% group ||= @group %>
<%= cache [@exhibit, group || '', search, I18n.locale] do %>
  <div class="col-md-4 col-12 category">
    <%= link_to group.present? ? spotlight.exhibit_browse_group_path(@exhibit, group, search) : spotlight.exhibit_browse_path(@exhibit, search) do %>
      <div class="image-overlay">
        <%= image_tag(search.thumbnail_image_url || 'spotlight/default_browse_thumbnail.jpg', class: 'img-responsive', alt: '') %>
        <div class="text-overlay">
           <h2 class="browse-category-title">
             <span class="title"><%= search.title %></span>
             <% if search.subtitle.present? %><span class="category-subtitle"><%= search.subtitle %></span><% end %>
             <small class="item-count"><%= t :'spotlight.browse.search.item_count', count: search.count %></small>
           </h2>
         </div>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.3 app/views/spotlight/browse/_search.html.erb
blacklight-spotlight-3.0.2 app/views/spotlight/browse/_search.html.erb
blacklight-spotlight-3.0.1 app/views/spotlight/browse/_search.html.erb
blacklight-spotlight-3.0.0 app/views/spotlight/browse/_search.html.erb