cmor_galleries_backend 0.0.54.pre → 0.0.59.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: cac1b9bcb99b2113aea6f4b80840b13f78519dfb07bc60782d185b1588a0be79
4
- data.tar.gz: 48fdc4da9caf216b3072c520b0a4225390ddbeb24c3c4c72d6e5287ca39d6f93
3
+ metadata.gz: 1ab98d0bba8348de33cd0bdb63cffe828e00854dd888cd6a4720628e30434e47
4
+ data.tar.gz: ddb63d43f21577e107db6faf411f670afbb76c9db2c1f7d93beaf659b0b50333
5
5
  SHA512:
6
- metadata.gz: bd75e36983d674c663f15135368796b54c8e28c000ef6ad5f840bad05d7472f308056d9a7ce577360e0e094044e4c170030ca6b4ea578b1c36c47f71723aede5
7
- data.tar.gz: 88c5c2a972748a427653ca1c5198551a3afe2c148703e52d882372e2a66574eeb1d232ece1dae4992b52e07e1165f69990820f59a4f5a41cd41e04b5b8e88b21
6
+ metadata.gz: 61e97bae07ead5f0612c1941dd4a79e84c24e27bac5f8fb467bc3dc73a5f50541b345722e6962eb4bf04ac61a859d13a509cf9653e62b67e72dfc0f5b8a3820b
7
+ data.tar.gz: a16221b1a23b42a260adfd7be4a2b26a96c0979fb7e54e47fbc4e1a8ff7b4b67c7b68e340dcc1fa3e9f09fe1790d5ef5729dfbf8ef3c0aca46fd28d590ce7335
@@ -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.54.pre
4
+ version: 0.0.59.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-05-20 00:00:00.000000000 Z
11
+ date: 2020-08-18 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.54.pre
33
+ version: 0.0.59.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.54.pre
40
+ version: 0.0.59.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.54.pre
47
+ version: 0.0.59.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.54.pre
54
+ version: 0.0.59.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.54.pre
327
+ version: 0.0.59.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.54.pre
334
+ version: 0.0.59.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.3
401
+ rubygems_version: 3.1.4
402
402
  signing_key:
403
403
  specification_version: 4
404
404
  summary: Cmor Galleries Backend Module.