solidus_backend 4.3.0 → 4.3.2

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: 855db55d75a9f15861129db90e9f74f7ac4785118361326751e131593b51ed3c
4
- data.tar.gz: 2a1845cee94fff5ec8a8b6be562d8bbb4be814739fbf246994f6f7f9b7660b3d
3
+ metadata.gz: d6acbf3e8d70baf621cd4624ee5fdae07cdb736bb4ef331dfbe11c8041bdbbeb
4
+ data.tar.gz: acd0789aac52f91891e8fce8697a968f8965298d0067cfdd1e60b7e6d870c260
5
5
  SHA512:
6
- metadata.gz: 4a2c9a211255502d6ffcd5217de8ed1797f728b5f35684cc5cab9e36548fa3575af695d4add1d18d3c26cfb22c5b43e4275fecec21438d5918ec2c28fa3a142c
7
- data.tar.gz: 3f4ebcfaf5f21bac101e9dcc64f3fc19c8886cdb0f113a4981176b130f8f9e3a970ab9e0cc3763f91bf92ea7a6675ee743722d1ef98b44bb73015e47fbc0fc78
6
+ metadata.gz: 61cbc3cda58c0252c8af1c0ba2ae7e8311fbea5de24e907db563111013aab6a30db9b5df8cabf5ceefe6682fb6606882f2a7abf96b05acb7edf0bfd7744362d8
7
+ data.tar.gz: 3be5e187b46c8e801cf1786ef91ee0e30cb30041347491849a6d20b57bf536d27357885050366d7686187b6061f99c85408b17fc5acd2b3411b3603156412852
@@ -33,7 +33,10 @@
33
33
  <script data-hook='admin-custom-translations'>
34
34
  </script>
35
35
 
36
- <% if I18n.locale != :en && I18n.locale %>
37
- <% select2_locale_path = "solidus_admin/select2_locales/select2_locale_#{I18n.locale}" %>
38
- <%= javascript_include_tag select2_locale_path, data: {turbolinks_track: 'reload'} if Rails.application.assets.find_asset(select2_locale_path) %>
36
+ <% select2_locale_path = "solidus_admin/select2_locales/select2_locale_#{I18n.locale}.js" %>
37
+ <% if I18n.locale != :en && I18n.locale && (
38
+ Rails.application.assets&.find_asset(select2_locale_path) || # compiled on the fly
39
+ Rails.application.assets_manifest.assets[select2_locale_path] # precompiled
40
+ ) %>
41
+ <%= javascript_include_tag select2_locale_path, data: {turbolinks_track: 'reload'} %>
39
42
  <% end %>
@@ -1,6 +1,6 @@
1
1
  <% theme_options_for_select = Spree::Backend::Config.themes.keys.map { |theme| [theme.to_s.humanize, theme] }.sort %>
2
2
 
3
- <%= form_tag(admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "light-only") do %>
3
+ <%= form_tag(spree.admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "light-only") do %>
4
4
  <%= hidden_field_tag :system_theme, :light %>
5
5
  <label class="admin-navbar-selection">
6
6
  <i class="fa fa-sun-o fa-fw" title="<%= I18n.t('spree.choose_dashboard_theme') %>"></i>
@@ -10,7 +10,7 @@
10
10
  </label>
11
11
  <% end %>
12
12
 
13
- <%= form_tag(admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "dark-only") do %>
13
+ <%= form_tag(spree.admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "dark-only") do %>
14
14
  <%= hidden_field_tag :system_theme, :dark %>
15
15
  <label class="admin-navbar-selection">
16
16
  <i class="fa fa-moon-o fa-fw" title="<%= I18n.t('spree.choose_dashboard_theme') %>"></i>
@@ -1,7 +1,7 @@
1
1
  <% theme_options_for_select = Spree::Backend::Config.themes.keys.map { |theme| [theme.to_s.humanize, theme] }.sort %>
2
2
 
3
3
  <li>
4
- <%= form_tag(admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "light-only") do %>
4
+ <%= form_tag(spree.admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "light-only") do %>
5
5
  <%= hidden_field_tag :system_theme, :light %>
6
6
  <label>
7
7
  <svg aria-hidden="true"><use xlink:href="<%= image_path('spree/backend/themes/solidus_admin/remixicon.symbol.svg') %>#ri-sun-line"></use></svg>
@@ -12,7 +12,7 @@
12
12
  </label>
13
13
  <% end %>
14
14
 
15
- <%= form_tag(admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "dark-only") do %>
15
+ <%= form_tag(spree.admin_set_theme_path(format: :html), method: :put, style: "width: 100%;", class: "dark-only") do %>
16
16
  <%= hidden_field_tag :system_theme, :dark %>
17
17
  <label>
18
18
  <svg aria-hidden="true"><use xlink:href="<%= image_path('spree/backend/themes/solidus_admin/remixicon.symbol.svg') %>#ri-moon-line"></use></svg>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-27 00:00:00.000000000 Z
11
+ date: 2024-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_api
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.3.0
19
+ version: 4.3.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.3.0
26
+ version: 4.3.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: solidus_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.3.0
33
+ version: 4.3.2
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: 4.3.0
40
+ version: 4.3.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: font-awesome-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -919,7 +919,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
919
919
  - !ruby/object:Gem::Version
920
920
  version: 1.8.23
921
921
  requirements: []
922
- rubygems_version: 3.4.10
922
+ rubygems_version: 3.2.33
923
923
  signing_key:
924
924
  specification_version: 4
925
925
  summary: Admin interface for the Solidus e-commerce framework.