Sha256: d4a2ce2d58eba3dd79d62978753c4c192826048f42e2e3eb7afdc5902d025720

Contents?: true

Size: 454 Bytes

Versions: 6

Compression:

Stored size: 454 Bytes

Contents

<%- if document.respond_to?(:representative_image_url) && document.representative_image_url.present? %>
  <%= image_tag document.representative_image_url, class: "canonical-image"  %>
<%- elsif document.respond_to?(:representative) && document.representative.present? %>
  <%= image_tag download_path(document.representative, {:datastream_id => 'thumbnail'}), class: "canonical-image"  %>
<%- else -%>
  <span class="canonical-image"></span>
<%- end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
curate-0.6.6 app/views/catalog/_index_partials/_thumbnail_display.html.erb
curate-0.6.5 app/views/catalog/_index_partials/_thumbnail_display.html.erb
curate-0.6.4 app/views/catalog/_index_partials/_thumbnail_display.html.erb
curate-0.6.3 app/views/catalog/_index_partials/_thumbnail_display.html.erb
curate-0.6.1 app/views/catalog/_index_partials/_thumbnail_display.html.erb
curate-0.6.0 app/views/catalog/_index_partials/_thumbnail_display.html.erb