scrivito_elastic_slider_widget 0.93.2 → 0.93.3

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: 1bb686ca69c4ee33023425d6995f3533911f4953
4
- data.tar.gz: f75fe6e68ca8801d713ebbd208ad00607183de36
3
+ metadata.gz: 1a62f675d8570cbb7f16dfd0188fe2af96f8ff35
4
+ data.tar.gz: f5a737472101ce084d47558cbf980eaac459cba8
5
5
  SHA512:
6
- metadata.gz: 46ffe36a0a230000f4515cca88f13885073059d10ccca122429d2140b9c6dc7e08640d625fc87c1040f306632da91842d5cfdd9a4fcff3b43249d9733d2bcd41
7
- data.tar.gz: ae8a9eb54771f95c8183e4fc69c0ad322b1f6940094aacd8dd05d103737b1c353f0911d6b34bce5eea05037919782b8be599ab44c1ebbfe4cc67e69803fb3d9e
6
+ metadata.gz: 78bf74b241ee61cc23486a6c479782d952996accbc6064be03e4c4920bedcf3dec68934e78907cc0ac89339f7bbb103679fff7ccffe58b30ac3adcf912156f53
7
+ data.tar.gz: 23b2cb51820a02abe7fc5c9e9207d7591f39ea828222f8809efe81ddaa561c2800b36d1c2d31c95eb211d6e7eaa4d3e49327e51ae7dbd67ae79f052f7c5d302f
@@ -18,7 +18,9 @@
18
18
  srcset='<%= widget.transform_for_desktop(1200).url %>'>
19
19
 
20
20
  <% end %>
21
- <%= scrivito_image_tag widget, :image, {class: 'img-responsive'}, transform: widget.fallback_transform %>
21
+ <% if widget.image || scrivito_in_editable_view? %>
22
+ <%= scrivito_image_tag widget, :image, {class: 'img-responsive'}, transform: widget.fallback_transform %>
23
+ <% end %>
22
24
  </picture>
23
25
  <div class="carousel-caption">
24
26
  <div class="content">
@@ -1,3 +1,3 @@
1
1
  module ScrivitoElasticSliderWidget
2
- VERSION = "0.93.2"
2
+ VERSION = "0.93.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_elastic_slider_widget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.2
4
+ version: 0.93.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-26 00:00:00.000000000 Z
11
+ date: 2017-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler