spree_frontend 4.3.0.rc1 → 4.3.0.rc2

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: 1d33bc829b31e15e9ff3fb6b935d5f0c8efe605bdb39eec91697295159834b97
4
- data.tar.gz: 324b305b9b070290425491a7f42f5d9873736d8458b4d74f59e5385f51a53fee
3
+ metadata.gz: b0686959b81f2872072ce65f56070281fdb154c6db90eacbf0d808ccffe1d949
4
+ data.tar.gz: 371ab9c42ce368957f7866a255d0a2a5bd045e40d1965a8e7855df531bdbbd25
5
5
  SHA512:
6
- metadata.gz: 9fa6e789d9d2c72f9111f65f0a877f25ef5418a5166b0ab3fa9018fcb6df813c75c47fdf6d99271858c7ad29e30d5e70c82b28c3f3193f65f55328e220a57714
7
- data.tar.gz: 8003796ac4b54d905d3723b69bc59090c16f9cb2a086629daff701f384b44dce88ba215d8ed1045d6ff680e29d45a1df3fc050702c30e57a4c4892f359b28bd9
6
+ metadata.gz: 7bed7de505ec70cca2f0f3e10117335848e15e81f95a6cde330816a31b382a768133ffe752f112193db9f4d102a11a27bc99b2b4c04c2fb2d897e60c5ff86264
7
+ data.tar.gz: a611221576b26d8707bfe08a33630fa1f0fea69343751716cfb22bbd82705eb01ebb83f28423ea2a4aee711dc61f0efb258faefd3c43db18440e73e0d4c446be
@@ -12,8 +12,8 @@
12
12
  <div id="overlay" class="overlay hide-on-esc"></div>
13
13
 
14
14
  <div data-hook>
15
+ <%= flash_messages %>
15
16
  <main class="col-12" id="content" data-hook>
16
- <%= flash_messages %>
17
17
  <%= yield %>
18
18
  </main>
19
19
 
@@ -1,5 +1,5 @@
1
1
  <% cache [common_product_cache_keys, products&.except(:group, :order)&.maximum(:updated_at)&.to_i, id, products&.ids&.join(',')] do %>
2
- <div id="<%= id %>-mobile" class="carousel slide d-md-none homepage-carousel" data-interval="false">
2
+ <div id="<%= id.parameterize %>-mobile" class="carousel slide d-md-none homepage-carousel" data-interval="false">
3
3
  <div class="carousel-inner">
4
4
  <% products.each_slice(2).with_index do |sliced_items, index| %>
5
5
  <div class="carousel-item <%= 'active' if index == 0 %>">
@@ -18,7 +18,7 @@
18
18
  </div>
19
19
  <a
20
20
  class="d-flex position-absolute justify-content-center align-items-center carousel-icon-control carousel-icon-control--previous"
21
- href="#<%= id %>-mobile"
21
+ href="#<%= id.parameterize %>-mobile"
22
22
  role="button"
23
23
  data-slide="prev">
24
24
  <span class="d-flex justify-content-center align-items-center carousel-icon-control-rounded" aria-hidden="true">
@@ -32,7 +32,7 @@
32
32
 
33
33
  <a
34
34
  class="d-flex position-absolute justify-content-center align-items-center carousel-icon-control carousel-icon-control--next"
35
- href="#<%= id %>-mobile"
35
+ href="#<%= id.parameterize %>-mobile"
36
36
  role="button"
37
37
  data-slide="next">
38
38
  <span class="d-flex justify-content-center align-items-center carousel-icon-control-rounded" aria-hidden="true">
@@ -45,14 +45,14 @@
45
45
  </a>
46
46
  </div>
47
47
 
48
- <div id="<%= id %>-desktop" class="carousel slide d-none d-md-block homepage-carousel" data-interval="false">
48
+ <div id="<%= id.parameterize %>-desktop" class="carousel slide d-none d-md-block homepage-carousel" data-interval="false">
49
49
  <div class="carousel-inner carousel-inner-width">
50
50
  <% products.each_slice(4).with_index do |sliced_items, index| %>
51
51
  <div class="carousel-item <%= 'active' if index == 0 %>">
52
52
  <div class="container position-relative">
53
53
  <a
54
54
  class="d-flex position-absolute justify-content-center align-items-center carousel-icon-control carousel-icon-control--previous"
55
- href="#<%= id %>-desktop"
55
+ href="#<%= id.parameterize %>-desktop"
56
56
  role="button"
57
57
  data-slide="prev">
58
58
  <span class="d-flex justify-content-center align-items-center carousel-icon-control-rounded" aria-hidden="true">
@@ -74,7 +74,7 @@
74
74
 
75
75
  <a
76
76
  class="d-md-flex position-absolute justify-content-center align-items-center carousel-icon-control carousel-icon-control--next"
77
- href="#<%= id %>-desktop"
77
+ href="#<%= id.parameterize %>-desktop"
78
78
  role="button"
79
79
  data-slide="next">
80
80
  <span class="d-flex justify-content-center align-items-center carousel-icon-control-rounded" aria-hidden="true">
@@ -47,11 +47,11 @@
47
47
  </div>
48
48
  </div>
49
49
  </div>
50
- <div class="row d-none d-xl-flex border-top py-5 text-uppercase footer-spree-menu-links">
50
+ <div class="row d-none d-xl-flex border-top pt-5 text-uppercase footer-spree-menu-links">
51
51
 
52
52
  <% if spree_menu('footer').present? %>
53
53
  <% spree_menu('footer').children.each do |parent| %>
54
- <div class="col-3">
54
+ <div class="col-3 mb-5">
55
55
  <div class="footer-spree-label">
56
56
  <% if parent.container? %>
57
57
  <%= parent.name %>
@@ -69,7 +69,7 @@
69
69
  <% end %>
70
70
 
71
71
  <% if spree.respond_to?(:account_path) %>
72
- <div class="col-3">
72
+ <div class="col-3 mb-5">
73
73
  <div class="footer-spree-label">
74
74
  <%= Spree.t('nav_bar.my_account') %>
75
75
  </div>
@@ -13,7 +13,10 @@
13
13
 
14
14
  <div class="d-lg-inline-block account-page-user-info-item-store-credits">
15
15
  <p class="my-0 text-uppercase text-center">
16
- <%= Spree.t(:store_credit_name) %>: <b class="account-page-user-info-item-store-credits-amount"><%= Spree::Money.new(@user.total_available_store_credit(current_currency, current_store), currency: current_currency).to_s.gsub('.00', '') %></b>
16
+ <%= Spree.t(:store_credit_name) %>
17
+ <% @user.available_store_credits(current_store).each do |value| %>
18
+ <br><b class="account-page-user-info-item-store-credits-amount"><%= value %></b>
19
+ <% end %>
17
20
  </p>
18
21
  </div>
19
22
  </div>
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.metadata = {
16
16
  "bug_tracker_uri" => "https://github.com/spree/spree/issues",
17
17
  "changelog_uri" => "https://github.com/spree/spree/releases/tag/v#{s.version}",
18
- "documentation_uri" => "https://guides.spreecommerce.org/",
18
+ "documentation_uri" => "https://dev-docs.spreecommerce.org/",
19
19
  "source_code_uri" => "https://github.com/spree/spree/tree/v#{s.version}",
20
20
  }
21
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0.rc1
4
+ version: 4.3.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-08-11 00:00:00.000000000 Z
12
+ date: 2021-08-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree_api
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 4.3.0.rc1
20
+ version: 4.3.0.rc2
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: 4.3.0.rc1
27
+ version: 4.3.0.rc2
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: spree_core
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 4.3.0.rc1
34
+ version: 4.3.0.rc2
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
- version: 4.3.0.rc1
41
+ version: 4.3.0.rc2
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: babel-transpiler
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -838,9 +838,9 @@ licenses:
838
838
  - BSD-3-Clause
839
839
  metadata:
840
840
  bug_tracker_uri: https://github.com/spree/spree/issues
841
- changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.0.rc1
842
- documentation_uri: https://guides.spreecommerce.org/
843
- source_code_uri: https://github.com/spree/spree/tree/v4.3.0.rc1
841
+ changelog_uri: https://github.com/spree/spree/releases/tag/v4.3.0.rc2
842
+ documentation_uri: https://dev-docs.spreecommerce.org/
843
+ source_code_uri: https://github.com/spree/spree/tree/v4.3.0.rc2
844
844
  post_install_message:
845
845
  rdoc_options: []
846
846
  require_paths: