cmor_galleries_backend 0.0.51.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: ea32feb0a1ce4ff1ae2eb52214737c239929da89e2a48d6e59915e3d953cd172
4
- data.tar.gz: 3cbf36ff69b5008f7877f59344656a77c8a224001fb47f01e2e7334364a861e6
3
+ metadata.gz: 51709abb2bbba7a51848df9131f7c5f4168c39586af04a39baef486b408d63a3
4
+ data.tar.gz: fba6fc16299b993a57d4ad5fffaaf206cbd9c46e6f772e83f04898232e6175b8
5
5
  SHA512:
6
- metadata.gz: 7d8e10148a073e347e189e72c77c2df1d1de6cbe6c3cbdf88ba4cd9c1e761b9de4e27a5ecf51e79f79836904df96eb381cf348774bc5008ebfca812bd94cd468
7
- data.tar.gz: ba1b3662232e594b3ff402cf3f91959c215dc4c0f49fa7b373f5b736f68a71dc4c7ec9fa370c3d9bfc3c4e10c63272b58e0daada18efd1b51826b82e423c3636
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)
@@ -23,6 +23,6 @@
23
23
  = link_to([:edit, picture_detail], class: 'btn btn-xs btn-responsive btn-primary') do
24
24
  %span.glyphicon.glyphicon-pencil
25
25
  %span.btn-text= t('.edit')
26
- = link_to([picture_detail], class: 'btn btn-xs btn-responsive btn-danger', method: :delete, data: { confirm: I18n.t('.confirmations.delete') }) do
26
+ = link_to([picture_detail], class: 'btn btn-xs btn-responsive btn-danger', method: :delete, data: { confirm: t('rao.component.collection_table.destroy_confirmation') }) do
27
27
  %span.glyphicon.glyphicon-fire
28
28
  %span.btn-text= t('.destroy')
@@ -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.51.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-03-23 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.51.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.51.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.51.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.51.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.51.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.51.pre
334
+ version: 0.0.56.pre
335
335
  description:
336
336
  email:
337
337
  - roberto@vasquez-angel.de
@@ -398,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
398
398
  - !ruby/object:Gem::Version
399
399
  version: 1.3.1
400
400
  requirements: []
401
- rubygems_version: 3.1.2
401
+ rubygems_version: 3.1.4
402
402
  signing_key:
403
403
  specification_version: 4
404
404
  summary: Cmor Galleries Backend Module.