Sha256: 3b9fdcb61bb9712b1f700a36a5c812ddf4d91c5f4226dab5b02c7443eaed0fbb

Contents?: true

Size: 824 Bytes

Versions: 89

Compression:

Stored size: 824 Bytes

Contents

<% if featured_pages_block.pages? %>
  <div class="spotlight-flexbox browse-categories categories-<%= featured_pages_block.pages.length %>" data-sidebar='<%= @page.display_sidebar? %>'>
    <% featured_pages_block.pages.each_with_index do |page, index| %>
      <div class="box category-<%= (index + 1) %>">
        <%= link_to [spotlight, current_exhibit, page] 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(\"#{page.thumbnail_image_url}\")" if page.thumbnail_image_url %>'>
            <div class="category-caption">
              <p class="category-title">
                <%= page.title %>
              </p>
            </div>
          </div>
        <% end %>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

89 entries across 89 versions & 1 rubygems

Version Path
blacklight-spotlight-2.3.1 app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb
blacklight-spotlight-2.3.0 app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb
blacklight-spotlight-2.2.1 app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb
blacklight-spotlight-2.2.0 app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb
blacklight-spotlight-2.1.0 app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb
blacklight-spotlight-2.0.2 app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb
blacklight-spotlight-2.0.1 app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb
blacklight-spotlight-2.0.0 app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb
blacklight-spotlight-2.0.0.rc6 app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb