scrivito_pdf_widget 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/scrivito_pdf_widget.js +1 -3
- data/app/assets/javascripts/scrivito_pdf_widget/application.js +0 -12
- data/app/views/pdf/details.html.erb +1 -1
- data/app/views/pdf_widget/details.html.erb +2 -2
- data/app/views/pdf_widget/thumbnail.html.erb +3 -3
- data/lib/scrivito_pdf_widget/version.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: 042d7da0348e776f95e92219d5638a4e01b5a63f
|
4
|
+
data.tar.gz: 30ce1a23b0b936385d6ffab351fa3879da933326
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f99b06c4a6c6080623ca6e3b51b4796038139e45dcf9cbde3ea847cd7564d7247e28e11dbbf06e512598eb2753d7bd7d22fbb175f38d5659001db280a71d7c4c
|
7
|
+
data.tar.gz: 6d5954d7c06207902bde686c5ee50f03e663d7622de372d7b46b11c1942c0defe8d178a4dab7bf607b66540c28cb6b493a51584abdc69775d4f10909dcc77015
|
@@ -1,15 +1,3 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
-
// listed below.
|
3
|
-
//
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
-
//
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
// the compiled file.
|
9
|
-
//
|
10
|
-
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
-
// GO AFTER THE REQUIRES BELOW.
|
12
|
-
//
|
13
1
|
//= require ./pdf
|
14
2
|
//= require ./jquery.viewer
|
15
3
|
//= require ./widget
|
@@ -2,6 +2,6 @@
|
|
2
2
|
This attribute are used as meta information for semantic web. It is based on <a href="http://schema.org/MediaObject">http://schema.org/MediaObject</a>.
|
3
3
|
</div>
|
4
4
|
|
5
|
-
<%= scrivito_details_for 'Description' do %>
|
5
|
+
<%= scrivito_details_for t('scrivito_pdf_widget.details.description', default: 'Description') do %>
|
6
6
|
<%= scrivito_tag(:div, @obj, :description) %>
|
7
7
|
<% end %>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<%= scrivito_details_for 'PDF' do %>
|
1
|
+
<%= scrivito_details_for t('scrivito_pdf_widget.details.pdf', default: 'PDF') do %>
|
2
2
|
<%= scrivito_tag(:div, widget, :pdf) %>
|
3
3
|
<% end %>
|
4
4
|
|
5
5
|
<% if widget.pdf.present? %>
|
6
|
-
<%= scrivito_details_for 'Description' do %>
|
6
|
+
<%= scrivito_details_for t('scrivito_pdf_widget.details.description', default: 'Description') do %>
|
7
7
|
<%= scrivito_tag(:div, widget.pdf, :description) %>
|
8
8
|
<% end %>
|
9
9
|
<% end %>
|
@@ -1,3 +1,3 @@
|
|
1
|
-
<%= scrivito_thumbnail 'PDF', image_tag("widget_preview_pdf.png") do %>
|
2
|
-
Display a PDF on your page
|
3
|
-
<% end %>
|
1
|
+
<%= scrivito_thumbnail t('scrivito_pdf_widget.thumbnail.title', default: 'PDF'), image_tag("widget_preview_pdf.png") do %>
|
2
|
+
<%= t('scrivito_pdf_widget.thumbnail.description', default: 'Display a PDF on your page') %>
|
3
|
+
<% 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.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|