workarea-product_additional_details 2.0.3 → 2.0.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/workarea/admin/catalog_variants_controller.decorator +1 -1
- data/app/helpers/workarea/admin/details_parse_helper.rb +9 -0
- data/app/views/workarea/admin/catalog_products/_additional_details.html.haml +1 -1
- data/app/views/workarea/admin/create_catalog_products/details.html.haml +1 -1
- data/config/initializers/workarea.rb +1 -0
- data/lib/workarea/product_additional_details/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3896657adbfe568f6032326a98a73c78f0d8ca8b2ad9e18b642c02d7bf4cf770
|
4
|
+
data.tar.gz: 01e40ddb9369b35b0b850f663c5caedef0428fa093596bbb8c01f2af4f2f5a16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4e9d3107d74f4776619025cf14262f0dcd83e3b5e853994434c15385fb65d00bae569713f0da3fce973cf452ac9926848895cf5379818287e1f4a447dfb8fdd
|
7
|
+
data.tar.gz: 5d40149ab3afbdd8de46bd3706b014c5500fbb580aa2384f2f73d7fbe771ccf40d0822e38bf660f0ecab51860b3843aa3cd06ea9c00a08778980591ca6bb9f2e
|
@@ -17,7 +17,7 @@ module Workarea
|
|
17
17
|
|
18
18
|
def set_additional_details
|
19
19
|
@variant.additional_details = HashUpdate.new(
|
20
|
-
original: @
|
20
|
+
original: @variant.additional_details,
|
21
21
|
adds: params[:new_additional_details],
|
22
22
|
updates: params[:additional_details],
|
23
23
|
removes: params[:additional_details_to_remove]
|
@@ -17,7 +17,7 @@
|
|
17
17
|
%td
|
18
18
|
.property
|
19
19
|
= hidden_field_tag 'additional_details[]', name, id: nil
|
20
|
-
= text_area_tag 'additional_details[]', value, class: 'text-box text-box--i18n', id: nil
|
20
|
+
= text_area_tag 'additional_details[]', parse_details_text(value), class: 'text-box text-box--i18n', id: nil
|
21
21
|
%td.align-center= check_box_tag 'additional_details_to_remove[]', name, false, id: nil, title: "#{t('workarea.admin.actions.delete')}: #{name} #{value}"
|
22
22
|
%tr{ data: { cloneable_row: '' } }
|
23
23
|
%td
|
@@ -75,7 +75,7 @@
|
|
75
75
|
= text_field_tag 'additional_details[]', name, class: 'text-box text-box--i18n', title: 'Name', placeholder: 'Name', id: nil
|
76
76
|
%td
|
77
77
|
.property
|
78
|
-
= text_area_tag 'additional_details[]',
|
78
|
+
= text_area_tag 'additional_details[]', value, class: 'text-box text-box--i18n', title: 'Value', placeholder: 'Value', id: nil
|
79
79
|
%tr{ data: { cloneable_row: '' } }
|
80
80
|
%td
|
81
81
|
.property
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-product_additional_details
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gunasekaran Raja
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: workarea
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- app/controllers/workarea/admin/catalog_variants_controller.decorator
|
50
50
|
- app/controllers/workarea/admin/create_catalog_products_controller.decorator
|
51
51
|
- app/helpers/.keep
|
52
|
+
- app/helpers/workarea/admin/details_parse_helper.rb
|
52
53
|
- app/mailers/.keep
|
53
54
|
- app/models/.keep
|
54
55
|
- app/models/workarea/catalog/product.decorator
|