Skip to content

Commit

Permalink
Merge pull request #49 from scientist-softserv/patch-actions-erb
Browse files Browse the repository at this point in the history
add download attribute to download link
  • Loading branch information
kirkkwang authored Dec 23, 2022
2 parents 68ea92c + 2b47c2b commit 91f2a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/hyrax/file_sets/_actions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</li>
<% IiifPrint::Data::WorkDerivatives.new(file_set.id).keys.each do |name| %>
<li role="menuitem" tabindex="-1">
<a href="<%= "/downloads/#{file_set.id}?locale=en&file=#{name}" %>">
<a href="<%= "/downloads/#{file_set.id}?locale=en&file=#{name}" %>" download>
Download <em>(as <%= name %>)</em>
</a>
</li>
Expand Down

0 comments on commit 91f2a2a

Please sign in to comment.