scrivito_pdf_widget 1.1.1 → 1.1.2

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: 042d7da0348e776f95e92219d5638a4e01b5a63f
4
- data.tar.gz: 30ce1a23b0b936385d6ffab351fa3879da933326
3
+ metadata.gz: f69eb9387ad0e0a135b0dc718c767db48449eb7d
4
+ data.tar.gz: adfaefb33125388453178831f547df9de32316f8
5
5
  SHA512:
6
- metadata.gz: f99b06c4a6c6080623ca6e3b51b4796038139e45dcf9cbde3ea847cd7564d7247e28e11dbbf06e512598eb2753d7bd7d22fbb175f38d5659001db280a71d7c4c
7
- data.tar.gz: 6d5954d7c06207902bde686c5ee50f03e663d7622de372d7b46b11c1942c0defe8d178a4dab7bf607b66540c28cb6b493a51584abdc69775d4f10909dcc77015
6
+ metadata.gz: 520457fcb144c6fd0ac53de7f438e7ac98a74700278fd88bff672ed26834bbadb95a626e963d592713dbf845a5ff3ba1493a7ab80d4844ef8c9839372c73ef1c
7
+ data.tar.gz: c841d5e386ee4353fb091e3ed978e24489b53db328ca562aaee89ccdbbebe3d296fbc816cb680609fd46f71656f2391e893ef93996d6aaf28930a84d52601d80
@@ -1,7 +1,9 @@
1
- <div class="aler alert-info">
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
- </div>
1
+ <%= scrivito_details_for do %>
2
+ <%= scrivito_tag :div, @obj, :blob, class: 'image-replace-dropzone' do %>
3
+ <%= t('scrivito_pdf_widget.details.replace_pdf', default: 'Drop new PDF here to replace') %>
4
+ <% end %>
5
+ <% end %>
4
6
 
5
7
  <%= scrivito_details_for t('scrivito_pdf_widget.details.description', default: 'Description') do %>
6
8
  <%= scrivito_tag(:div, @obj, :description) %>
7
- <% end %>
9
+ <% end %>
@@ -1,6 +1,6 @@
1
1
  <% if widget.pdf.blank? %>
2
2
  <div class="alert alert-info">
3
- please select a presentation
3
+ please select a PDF
4
4
  </div>
5
5
  <% else %>
6
6
  <div class="scrivito-pdf">
@@ -1,3 +1,3 @@
1
1
  module ScrivitoPdfWidget
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
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.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-24 00:00:00.000000000 Z
11
+ date: 2017-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.4.5
107
+ rubygems_version: 2.5.1
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Display a PDF on your Page.