cmor_galleries_backend 0.0.52.pre → 0.0.57.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: b09724562db743a9463eb76e382c1b664a514972194ef037f9fab33a70be4f68
4
- data.tar.gz: 728c35a119683205e1635f660659efae229f4d8a1f848739d5d5700a52dc9309
3
+ metadata.gz: c699dfa59bef65731a16d47faa74a16fdc9f4184042ff2f611dd159c303cf209
4
+ data.tar.gz: 93bf3c6c0895af594b7047c752dae252b57315d04ae17f7d58909765e11b4c26
5
5
  SHA512:
6
- metadata.gz: 42599e6f8bbe3a7602a4eab6dc2bff591e4445593782e82b1a7e408f73161fe332240d15bcc8780c5c1c86f698300345a43fcbf18a9766422738a653a6fe8b0b
7
- data.tar.gz: 38c21a76454c8d408e8622e493c59b2ccb0749d11555ddc687ff5edb3911aa9d84d433af204a0b7fdbaeecaa2999708baafc9e2256485dd0edaf3479fbfb305f
6
+ metadata.gz: 33689a6761abdaf79d2e9d3812621737f7aef7fea023106e2b41e5f3e5245f9c346ea30e9415284613400cf9706e898c4b69c136ed3102f92ed2004bba3ac6ff
7
+ data.tar.gz: f9112e10a93f0888968174988d85415dd75a5c7f292dc4092637836b918d9fdb399a692a0d10b0b8625ac7ec55fc51f05c712a0cb85f8ae167061a27703f751e
@@ -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.52.pre
4
+ version: 0.0.57.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-15 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.52.pre
33
+ version: 0.0.57.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.52.pre
40
+ version: 0.0.57.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.52.pre
47
+ version: 0.0.57.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.52.pre
54
+ version: 0.0.57.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.52.pre
327
+ version: 0.0.57.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.52.pre
334
+ version: 0.0.57.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.