Sha256: 7cf1d0a9774986ea35a3e9e39cc29ec989bb504a6e1031b3b516e49c0b41aba4

Contents?: true

Size: 796 Bytes

Versions: 10

Compression:

Stored size: 796 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.pdf_link'),
                  hyrax.download_path(file_set),
                  target: :_blank,
                  id: "file_download",
                  data: { label: file_set.id } %>
    </div>
<% else %>
    <div>
      <%= image_tag thumbnail_url(file_set),
                    class: "representative-media",
                    alt: "",
                    role: "presentation" %>
    </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

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