Sha256: fa29c18b1ec9e2889c134604d58efff6be18e0beb223c600e8cca9274a0d445a
Contents?: true
Size: 1.37 KB
Versions: 5
Compression:
Stored size: 1.37 KB
Contents
<% # header bar for doc items in index view -%> <%= content_tag :div, class: 'documentHeader row', data: { layer_id: document.id, geom: document.geometry.geojson } do %> <div class='status-icons'> <%= render partial: 'header_icons', locals: { document: document } %> </div> <h3 class="index_title col-sm-9s cosl-lg-10 text-span"> <% counter = document_counter_with_offset(document_counter) %> <span class="document-counter"> <%= t('blacklight.search.documents.counter', :counter => counter) if counter %> </span> <%= link_to_document document, counter: counter, title: document[blacklight_config.index.title_field] %> </h3> <div class='col-md-12 more-info-area'> <div class='media'> <% if document.sidecar.image.attached? %> <% if document.sidecar.image.variable? %> <%= image_tag document.sidecar.image.variant(resize: "200"), {class: 'mr-3'} %> <% else %> <%= image_tag document.sidecar.image, {class: 'mr-3'} %> <% end %> <% else %> <span class="icon square mr-3" title="<%=document[Settings.FIELDS.GEOM_TYPE]%>"> <%= geoblacklight_icon(document[Settings.FIELDS.GEOM_TYPE]) %> </span> <% end %> <div class='media-body'> <small> <%= geoblacklight_present(:index_fields_display, document) %> </small> </div> </div> </div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems