solidus_admin 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d55713c30957b2581baa47e77a5fa3bcabc12d7898ed7e0e1db4a294a6d6017
|
|
4
|
+
data.tar.gz: 3fa56921c2f6036c3e46d0baec1117ce1f5f5152e9e300316706b3bb607d11ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6f89074bcd33a6b8a283d0850d2687b8b8041f1b2092ec62de4f5666eb1da00faa7342e001c61de1812cdff7dd21c9c336df9c42ffdd351bdb43e79ffdd3ac8
|
|
7
|
+
data.tar.gz: 113f291ed1bcb6982b5dabd1177ab826a5f4ddf5b691b705e22c9b31c9374f2a0f438531d70fb270877c3a6467cf6feb35a0bb03d80c12819135889bd714bb03
|
|
@@ -160,11 +160,8 @@ class SolidusAdmin::Users::Items::Component < SolidusAdmin::BaseComponent
|
|
|
160
160
|
content = []
|
|
161
161
|
content << item.product.name
|
|
162
162
|
content << "(#{item.variant.options_text})" if item.variant.option_values.any?
|
|
163
|
-
content << "
|
|
163
|
+
content << safe_join([tag.strong("#{t('spree.sku')}:"), " ", item.variant.sku]) if item.variant.sku.present?
|
|
164
164
|
|
|
165
|
-
|
|
166
|
-
# rubocop:disable Rails/OutputSafety
|
|
167
|
-
safe_join([content_tag(:div, content.join("<br>").html_safe, class: "text-sm")])
|
|
168
|
-
# rubocop:enable Rails/OutputSafety
|
|
165
|
+
content_tag(:div, safe_join(content, tag.br), class: "text-sm")
|
|
169
166
|
end
|
|
170
167
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Solidus Team
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: geared_pagination
|
|
@@ -538,7 +538,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
538
538
|
- !ruby/object:Gem::Version
|
|
539
539
|
version: 1.8.23
|
|
540
540
|
requirements: []
|
|
541
|
-
rubygems_version:
|
|
541
|
+
rubygems_version: 4.0.10
|
|
542
542
|
specification_version: 4
|
|
543
543
|
summary: Admin interface for the Solidus e-commerce framework.
|
|
544
544
|
test_files: []
|