cmor_carousels_backend 0.0.32.pre → 0.0.33.pre

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
  SHA256:
3
- metadata.gz: 1d11b92e260901a87227de33823c21a4dd2b79aa12365de0ef78f2735dcc50b2
4
- data.tar.gz: e8a4a61e03d2d8577ae84ab9811c8fd40b3f0df908acaed793eaf47d3b144b79
3
+ metadata.gz: 2ef069dce65036d0fb5f8461b533a39b8a631d53b39b4783bb5a7dada426a222
4
+ data.tar.gz: 32c12237600c0442e9ab7acb1f8bffec2c07414c371f96f204c013a53e22b67d
5
5
  SHA512:
6
- metadata.gz: 7985aef9ef25b4e56ee71c30f9ed85801bf91076e1ee6ac06aabd8fc73a4aa04202c2763a3dc9e64acd0270e4675fd38de4f4c573a544a7465022ccc817a4e04
7
- data.tar.gz: 61589565eb4e2f0f6214cf04a12afd20c215228f23a4ca9c9a95037caa5f26f6c1e16305c45bcef99b3bf6957a0f11e95151d281997510a49da3ad5d1f50189a
6
+ metadata.gz: cbcc9231c15e6288ff27e7d4aaad7da30d925536a2451235d99628a18066ebe004110769e731d2dd9e7c3f684759c2dbf541b890b685d3703b7ec834e9040cd4
7
+ data.tar.gz: bfb8c916970123751c5c52ad29f539d756583a52e2422d96c544dc505d199ba289d3cdc40ed3bb7719f20e182932a4abb3b960e1ab238933344c43c57e7937fd
@@ -7,7 +7,11 @@
7
7
  = collection_table(collection: resource.item_details, resource_class: Cmor::Carousels::ItemDetail) do |table|
8
8
  = table.acts_as_list_actions scope: :carousel_id
9
9
  = table.column :image do |resource|
10
- - image_tag(main_app.url_for(resource.asset.variant(Cmor::Core::Backend::Configuration.image_variant_options_for(:table))))
10
+ - capture_haml do
11
+ - if resource.asset.variable?
12
+ = image_tag(main_app.url_for(resource.asset.variant(Cmor::Core::Backend::Configuration.image_variant_options_for(:table))))
13
+ - if resource.asset.previewable?
14
+ = image_tag(main_app.url_for(resource.asset.preview(Cmor::Core::Backend::Configuration.image_variant_options_for(:table))))
11
15
  = table.timestamps
12
16
  = table.acts_as_published_actions
13
17
  = render partial: 'administrador/resources_controller/base/index_table_actions', locals: { table: table }
@@ -0,0 +1,2 @@
1
+ = form.input :locale_eq, association: :carousel, collection: I18n.available_locales.map(&:to_s)
2
+ = form.input :identifier_cont, association: :carousel
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_carousels_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32.pre
4
+ version: 0.0.33.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-02 00:00:00.000000000 Z
11
+ date: 2019-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.32.pre
33
+ version: 0.0.33.pre
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.32.pre
40
+ version: 0.0.33.pre
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cmor_core_backend
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.32.pre
47
+ version: 0.0.33.pre
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.32.pre
54
+ version: 0.0.33.pre
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -310,14 +310,14 @@ dependencies:
310
310
  requirements:
311
311
  - - '='
312
312
  - !ruby/object:Gem::Version
313
- version: 0.0.32.pre
313
+ version: 0.0.33.pre
314
314
  type: :runtime
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
318
  - - '='
319
319
  - !ruby/object:Gem::Version
320
- version: 0.0.32.pre
320
+ version: 0.0.33.pre
321
321
  description:
322
322
  email:
323
323
  - roberto@vasquez-angel.de
@@ -344,6 +344,7 @@ files:
344
344
  - app/views/cmor/carousels/backend/carousels/_show_table.html.haml
345
345
  - app/views/cmor/carousels/backend/item_details/_form.html.haml
346
346
  - app/views/cmor/carousels/backend/item_details/_index_table.html.haml
347
+ - app/views/cmor/carousels/backend/item_details/_query_form.html.haml
347
348
  - app/views/cmor/carousels/backend/item_details/_show_table.html.haml
348
349
  - config/initializers/assets.rb
349
350
  - config/initializers/cmor.rb