Sha256: 07bc4a32c2eb1cdc59ad80391321725c78380817c3ada43ad55b0a942192394c

Contents?: true

Size: 800 Bytes

Versions: 8

Compression:

Stored size: 800 Bytes

Contents

<% if display_media_download_link?(file_set: file_set) %>
    <div>
      <h2 class="sr-only"><%= t('hyrax.file_set.show.downloadable_content.heading') %></h2>
      <%= image_tag thumbnail_url(file_set),
                    class: "representative-media",
                    alt: "",
                    role: "presentation" %>
      <%= link_to t('hyrax.file_set.show.downloadable_content.image_link'),
                  hyrax.download_path(file_set),
                  data: { label: file_set.id },
                  target: :_blank,
                  id: "file_download" %>
    </div>
<% else %>
    <div>
      <%= image_tag thumbnail_url(file_set),
                    class: "representative-media",
                    alt: "",
                    role: "presentation" %>
    </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/file_sets/media_display/_image.html.erb
hyrax-3.5.0 app/views/hyrax/file_sets/media_display/_image.html.erb
hyrax-3.4.2 app/views/hyrax/file_sets/media_display/_image.html.erb
hyrax-3.4.1 app/views/hyrax/file_sets/media_display/_image.html.erb
hyrax-3.4.0 app/views/hyrax/file_sets/media_display/_image.html.erb
hyrax-3.3.0 app/views/hyrax/file_sets/media_display/_image.html.erb
hyrax-3.2.0 app/views/hyrax/file_sets/media_display/_image.html.erb
hyrax-3.1.0 app/views/hyrax/file_sets/media_display/_image.html.erb