Sha256: 33f665a30380780004b4dd2eae74337f05aac53a76ce9007e668c62616d8b543

Contents?: true

Size: 368 Bytes

Versions: 4

Compression:

Stored size: 368 Bytes

Contents

<% width = 36 if width.blank? %>
<%  if thumbnail.image? || thumbnail.pdf? || thumbnail.video? %>
  <% path = download_path(thumbnail, {datastream_id: 'thumbnail'}) %>
<% else %>
  <% path = "curate/default.png" %>
<% end %>
<%= link_to image_tag(path, width: width, class: 'thumbnail'), curation_concern_generic_file_path(thumbnail.noid), class: 'canonical-image' %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
curate-0.6.6 app/views/curation_concern/base/_thumbnail.html.erb
curate-0.6.5 app/views/curation_concern/base/_thumbnail.html.erb
curate-0.6.4 app/views/curation_concern/base/_thumbnail.html.erb
curate-0.6.3 app/views/curation_concern/base/_thumbnail.html.erb