curation_concerns 1.6.2 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/views/collections/_media_display.html.erb +1 -1
- data/app/views/curation_concerns/file_sets/_show_actions.html.erb +1 -1
- data/app/views/curation_concerns/file_sets/media_display/_default.html.erb +2 -1
- data/app/views/curation_concerns/file_sets/media_display/_image.html.erb +2 -1
- data/app/views/curation_concerns/file_sets/media_display/_office_document.html.erb +2 -0
- data/app/views/curation_concerns/file_sets/media_display/_pdf.html.erb +2 -1
- data/app/views/curation_concerns/single_use_links_viewer/show.html.erb +1 -1
- data/lib/curation_concerns/version.rb +1 -1
- data/spec/views/single_use_links_viewer/show.html.erb_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 172fab1ebafb8c3dd0f68ce83a797cd58a8189b2
|
|
4
|
+
data.tar.gz: 90c86d467af21617a3bd2a9cdb806f2ee5b3f8df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c63887d9ff1971c2bf495ce9264247e145265789d8fb68ec77b98c987467f8a1e6ea045f7c2cca84ab335479aba5f079795f54f014e7229a715d814fb6218cb2
|
|
7
|
+
data.tar.gz: 358867ae2f068736ae5daf0bc474f657dd22132218071b4e9e3b85432007710491901782716118cef08bb9c6ae6da4e00f682143c23880d5d1da59c470bf2570
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<a href="<%= collection_path %>" target="
|
|
1
|
+
<a href="<%= collection_path %>" target="_blank" data-turbolinks="false"><img src="Other.png" alt="No preview available" width="338" /></a>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div class="form-actions">
|
|
2
|
-
<%= link_to "Download this File", main_app.download_path(presenter), class: 'btn btn-default' %>
|
|
2
|
+
<%= link_to "Download this File", main_app.download_path(presenter), class: 'btn btn-default', data: { turbolinks: false }, target: :_blank %>
|
|
3
3
|
<% if can? :edit, presenter.id %>
|
|
4
4
|
<%= link_to "Edit this File", edit_polymorphic_path([main_app, presenter]), class: 'btn btn-default' %>
|
|
5
5
|
<% end %>
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
alt: "",
|
|
7
7
|
role: "presentation" %>
|
|
8
8
|
<%= link_to main_app.download_path(file_set),
|
|
9
|
-
target:
|
|
9
|
+
target: :_blank,
|
|
10
|
+
data: { turbolinks: false },
|
|
10
11
|
class: "btn btn-default" do %>
|
|
11
12
|
<%= t('curation_concerns.show.downloadable_content.default_link') %>
|
|
12
13
|
<% end %>
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
alt: "",
|
|
7
7
|
role: "presentation" %>
|
|
8
8
|
<%= link_to main_app.download_path(file_set),
|
|
9
|
-
target:
|
|
9
|
+
target: :_blank,
|
|
10
|
+
data: { turbolinks: false },
|
|
10
11
|
class: "btn btn-default" do %>
|
|
11
12
|
<%= t('curation_concerns.show.downloadable_content.image_link') %>
|
|
12
13
|
<% end %>
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
alt: "",
|
|
7
7
|
role: "presentation" %>
|
|
8
8
|
<%= link_to main_app.download_path(file_set),
|
|
9
|
-
target:
|
|
9
|
+
target: :_blank,
|
|
10
|
+
data: { turbolinks: false },
|
|
10
11
|
class: "btn btn-default" do %>
|
|
11
12
|
<%= t('curation_concerns.show.downloadable_content.pdf_link') %>
|
|
12
13
|
<% end %>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<h1 class="lower"><%= @presenter %></h1>
|
|
3
3
|
<h2 class="non lower">Actions</h2>
|
|
4
4
|
<p>
|
|
5
|
-
<%= link_to "Download (can only be used once)", @download_link, target:
|
|
5
|
+
<%= link_to "Download (can only be used once)", @download_link, target: :_blank, data: { turbolinks: false } %>
|
|
6
6
|
</p>
|
|
7
7
|
<h2> Descriptions:</h2>
|
|
8
8
|
|
|
@@ -27,6 +27,6 @@ describe 'curation_concerns/single_use_links_viewer/show.html.erb' do
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
it "has turbolinks disabled in the download link" do
|
|
30
|
-
expect(rendered).to have_selector "a[data-
|
|
30
|
+
expect(rendered).to have_selector "a[data-turbolinks^='false'][href^='/single_use_link/download/']"
|
|
31
31
|
end
|
|
32
32
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: curation_concerns
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Zumwalt
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2016-
|
|
13
|
+
date: 2016-10-21 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: hydra-head
|