scrivito_pdf_widget 1.0.14 → 1.0.15
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 432d34faad6f28832549f3200ef7661db994550a
|
4
|
+
data.tar.gz: cbe937565ad53ddcf52fac26b0d9b8b2cde1e388
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75c3eab034daaabc585180a2851dc4d3961c46000a2eeba51085e4e220ff5fe9d3c52132b154a78e19c470b2be402169c61e63daa219fcb033cfbf855efcc88e
|
7
|
+
data.tar.gz: 152994e9c539f79c8a43928effc3c156febe5683fd57332278437987a4bd935bf817df8c36ed7042cbf470e709f7463f81358a7a33b658d229dff26c4960d7e2
|
@@ -1,4 +1,11 @@
|
|
1
|
-
<div class="inline-pdf" data-url="<%= pdf.url_to_pdf %>">
|
1
|
+
<div class="inline-pdf" data-url="<%= pdf.url_to_pdf %>" itemscope="itemsope" itemtype="http://schema.org/MediaObject">
|
2
|
+
<meta itemprop="contentUrl" value="<%= pdf.url_to_pdf %>"/>
|
3
|
+
<meta itemprop="contentSize" value="<%= number_to_human_size(pdf.binary_length) %>"/>
|
4
|
+
<meta itemprop="encodingFormat" value="pdf"/>
|
5
|
+
|
6
|
+
<meta itemprop="name" value="<%= pdf.title %>"/>
|
7
|
+
<meta itemprop="description" value="<%= pdf.description %>"/>
|
8
|
+
|
2
9
|
<canvas></canvas>
|
3
10
|
<div class="pdf-bar">
|
4
11
|
<div class="button pdf-first">
|
@@ -1,2 +1,11 @@
|
|
1
|
-
|
2
|
-
<%= scrivito_tag(:div, widget, :pdf, data: {filter: PdfWidget.filter}) %>
|
1
|
+
<%= scrivito_details_for 'PDF' do %>
|
2
|
+
<%= scrivito_tag(:div, widget, :pdf, data: {filter: PdfWidget.filter}) %>
|
3
|
+
<% end %>
|
4
|
+
|
5
|
+
<%= scrivito_details_for 'Title' do %>
|
6
|
+
<%= scrivito_tag(:div, widget, :title %>
|
7
|
+
<% end %>
|
8
|
+
|
9
|
+
<%= scrivito_details_for 'Description' do %>
|
10
|
+
<%= scrivito_tag(:div, widget, :description %>
|
11
|
+
<% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_pdf_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|