cmor_galleries_backend 0.0.53.pre → 0.0.58.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: 440077a02e1fbe3afe5dd5e534d58d5ef81d2fbeac7390ebad06f0f2ae7ad186
4
- data.tar.gz: eabb843f8c3a47369a6fed58b986ef0826229252f502e2d30e47930d68ef30d3
3
+ metadata.gz: e326878202170368a40ba3600f2c7831102a4eb1d3cf73c4f7f92663395f9293
4
+ data.tar.gz: 063e4b146c407786e98b2dc0c1456f8f28fbae1d980f97110e0cecfed7318766
5
5
  SHA512:
6
- metadata.gz: b1b6a4ebe9038b66c13d687a8b0f64961540ef229de59a1869265800bad263b645faefe7835b522ce411e8ba5e05d0fbb7c3d963424e9664a2adb55231a4bedc
7
- data.tar.gz: 21237c1204a1991523aa8ca101716062a6ff575bf9c87011e3a31f71493d8835f78c1d3ef67d3340eb4754762188f4ff8b52524c102d63edc05529fe18b65335
6
+ metadata.gz: bf19b904b499cc7bf8e739182c2beafe931eacf00dbb15c7dec451419ce71a26df9326f520312835b51616226219df00dfd7980fc8faf2ff18b471e9b1d4b65e
7
+ data.tar.gz: 906679e67a3eac02419625179cc70939dc2eae1b900bdeb8c0c22c69dfa7cc0adc327bc25dabab42c3a00cef65334667bdbe2a6d467001dc6504f1b0a6c2e080
@@ -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.53.pre
4
+ version: 0.0.58.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-26 00:00:00.000000000 Z
11
+ date: 2020-07-17 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.53.pre
33
+ version: 0.0.58.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.53.pre
40
+ version: 0.0.58.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.53.pre
47
+ version: 0.0.58.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.53.pre
54
+ version: 0.0.58.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.53.pre
327
+ version: 0.0.58.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.53.pre
334
+ version: 0.0.58.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.