cmor_galleries_backend 0.0.55.pre → 0.0.56.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: 282c0bff8953bde62fc513c72fc1ae015faceb0d379c95be330e1d2be0147a73
4
- data.tar.gz: b36ca999d907a8d5600697a3d048ad3eff6cf9317de7b861c53a3888caab5ce3
3
+ metadata.gz: 51709abb2bbba7a51848df9131f7c5f4168c39586af04a39baef486b408d63a3
4
+ data.tar.gz: fba6fc16299b993a57d4ad5fffaaf206cbd9c46e6f772e83f04898232e6175b8
5
5
  SHA512:
6
- metadata.gz: 97f7b2adf6a7ac86293f64a79e6e68e4ac0bfa7fed8e25adb6decff0986678e34c61ae05974c0a9326a5d3dd0358d2a71786e53504258c93fc10abd56043be85
7
- data.tar.gz: 044160441e8cb65de900e3b0000a70bf0c422baed887fa78e308799abdd4b8334d429a970348fbff708a3417235d62bf582761b9d42752c81b5f7612c2382f00
6
+ metadata.gz: 6aaf8f7a5a491e5f32d4b6ca629acf6ac7f1ac04becedd9a80a7232efa5bf434af89bb7dbcde408c3b8167b3f2c196e4ef3d3a1aa873d1cb222c20c146b3511a
7
+ data.tar.gz: d8f29189d0be6a4e05e406ffb38c87f80f98562cab49f32bf53497375fa89aa308efbc69f089de65dde1918398641d254326f14d3a439b233836ec0fd3cb0c2f
@@ -1,7 +1,8 @@
1
1
  = table.batch_actions actions: { destroy: url_for(action: :destroy_many) }
2
2
  = table.acts_as_list_actions scope: :picture_gallery_id
3
3
  = table.column :preview do |resource|
4
- - bootstrap_card(image_options: { src: main_app.url_for(resource.asset) })
4
+ - capture_haml do
5
+ %img.img-fluid{ src: main_app.url_for(resource.asset.variant(Cmor::Core::Backend::Configuration.image_variant_options_for(:table))) }
5
6
  = table.column :picture_gallery, as: :association, label_method: :name, link_to: ->(r) { url_for(r.picture_gallery) }, sort: { column_name: 'cmor_galleries_picture_galleries.name' }
6
7
  = table.column :title
7
8
  = table.column :identifier
@@ -1,8 +1,13 @@
1
1
  = table.row :preview do |resource|
2
- - bootstrap_card(image_options: { src: main_app.url_for(resource.asset) })
2
+ - capture_haml do
3
+ %img.img-fluid{ src: main_app.url_for(resource.asset) }
3
4
  = table.row :picture_gallery, as: :association, label_method: :name
4
5
  = table.row :title
5
6
  = table.row :identifier
6
7
  = table.row :description
7
8
  = table.timestamp :published_at
8
- = table.row :display_code_for_erb
9
+ = table.row :display_code_for_erb
10
+ = table.row :asset_permanent_path do |resource|
11
+ - main_app.rails_blob_path(resource.asset)
12
+ = table.row :asset_permanent_url do |resource|
13
+ - main_app.rails_blob_url(resource.asset)
@@ -2,7 +2,8 @@
2
2
  = table.column :locale, sort: true
3
3
  = table.column :preview do |resource|
4
4
  - if resource.picture_details.first.try(:asset).present?
5
- - bootstrap_card(image_options: { src: main_app.url_for(resource.picture_details.first.asset.variant(Cmor::Core::Backend::Configuration.image_variant_options_for(:table))) })
5
+ - capture_haml do
6
+ %img.img-fluid{ src: main_app.url_for(resource.picture_details.first.asset.variant(Cmor::Core::Backend::Configuration.image_variant_options_for(:table))) }
6
7
  = table.column :name, sort: true
7
8
  = table.column :picture_details_count
8
9
  = table.timestamps sort: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_galleries_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.55.pre
4
+ version: 0.0.56.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: 2020-06-28 00:00:00.000000000 Z
11
+ date: 2020-07-14 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.55.pre
33
+ version: 0.0.56.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.55.pre
40
+ version: 0.0.56.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.55.pre
47
+ version: 0.0.56.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.55.pre
54
+ version: 0.0.56.pre
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -324,14 +324,14 @@ dependencies:
324
324
  requirements:
325
325
  - - '='
326
326
  - !ruby/object:Gem::Version
327
- version: 0.0.55.pre
327
+ version: 0.0.56.pre
328
328
  type: :runtime
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - '='
333
333
  - !ruby/object:Gem::Version
334
- version: 0.0.55.pre
334
+ version: 0.0.56.pre
335
335
  description:
336
336
  email:
337
337
  - roberto@vasquez-angel.de