Sha256: 5e923ab2b3ebf4e0aa77a5433f3b0310fecb1d4be7edbba6bc1b791b00cefed3
Contents?: true
Size: 1.65 KB
Versions: 27
Compression:
Stored size: 1.65 KB
Contents
<% solr_documents_block.with_solr_helper(self) %> <div class="content-block items-block row"> <% if solr_documents_block.documents? %> <div class="items-col spotlight-flexbox pull-<%= solr_documents_block.content_align %> <%= solr_documents_block.text? ? "col-md-6" : "col-md-12" %> "> <% solr_documents_block.each_document do |block_options, document| %> <div class="box" data-id="<%= document.id %>"> <div class="contents"> <% if block_thumb = block_options[:thumbnail_image_url] %> <div class="thumbnail"><%= link_to_document(document, image_tag(block_thumb), counter: -1) %></div> <% elsif has_thumbnail? document %> <div class="thumbnail"><%= render_thumbnail_tag(document, {}, document_counter: -1) %></div> <% end %> <% if solr_documents_block.primary_caption? %> <div class="caption primary-caption"> <%= render_index_field_value document, solr_documents_block.primary_caption_field %> </div> <% end %> <% if solr_documents_block.secondary_caption? %> <div class="caption secondary-caption"> <%= render_index_field_value document, solr_documents_block.secondary_caption_field %> </div> <% end %> </div> </div> <% end %> </div> <% end %> <% if solr_documents_block.text? %> <div class="text-col col-md-6"> <% unless solr_documents_block.title.blank? %> <h3><%= solr_documents_block.title %></h3> <% end %> <%= sir_trevor_markdown solr_documents_block.text %> </div> <% end %> </div>
Version data entries
27 entries across 27 versions & 1 rubygems