workarea-product_additional_details 2.0.31 → 2.0.36
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 +10 -0
- data/app/views/workarea/admin/catalog_products/_additional_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: 017aa5c9dba4922f3c8b5637cd58308d89e228e16e12a2e25ad1db89a3b6ad11
|
4
|
+
data.tar.gz: 541f83fa5e6db2a657779d0c89ff0746ccd2461d1352700cd708cfa980488b98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b4e0c50914027bdc69d0d07331879fb5614a0f05210823819c7458562dcb2281ed6c5e5ab185db6a6be0e7e81c406a2937cbf337f080e4fe9673d3949659f86
|
7
|
+
data.tar.gz: 28a0810d9d47546e153a5861fb13ef023bd34032e67d9e518aee3a2aee2038812c0552eed350f05d19a58551a1e7d8fde152c6810edc4a0fd219f5e51f1fa7d2
|
@@ -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
|
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.36
|
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
|
11
|
+
date: 2020-12-11 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
|