Sha256: 1733fcc0c84be6efacd1fcbd2d1299b55e634ce4b645ddf3c20140d548e89581
Contents?: true
Size: 1.19 KB
Versions: 32
Compression:
Stored size: 1.19 KB
Contents
<% solr_documents_grid_block.with_solr_helper(self) %> <div class="content-block items-block item-grid-block row"> <div class="items-col <%= solr_documents_grid_block.text? ? 'col-md-9' : 'col-md-12' %> pull-<%= solr_documents_grid_block.content_align %>"> <% if solr_documents_grid_block.documents? %> <% solr_documents_grid_block.each_document.each_with_index do |(block_options, document), index| %> <div class="box item-<%= index %>" data-id="<%= document.id %>"> <% 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 %> </div> <% end %> <% end %> </div> <% if solr_documents_grid_block.text? %> <div class="text-col col-md-3"> <% unless solr_documents_grid_block.title.blank? %> <h3><%= solr_documents_grid_block.title %></h3> <% end %> <%= sir_trevor_markdown solr_documents_grid_block.text %> </div> <% end %> </div>
Version data entries
32 entries across 32 versions & 1 rubygems