spree_backend 4.5.0 → 4.5.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 +4 -4
- data/app/views/spree/admin/dashboard/_getting_started.html.erb +17 -21
- data/config/locales/en.yml +19 -0
- data/lib/spree/backend/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 52a858880403173a9a9f056d3cc56cfcddc3722ba81e0cb8b9a98916c7b8de98
|
|
4
|
+
data.tar.gz: 30a8477e002f5d2358e88734a94ad68d764c7fcb11f2c0aad23a21449f1ac3ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce6e3c3fb15c923f5a1141e83d97d8dd6a95ace8ac955fb46626e47b64fc5df143af04560e144f47658dc5fa98575da4d4c395525ea0b21ceb0e01a7c8fdc789
|
|
7
|
+
data.tar.gz: 83bff3a71be5bbb9a7a1ed5f0b386953665c3a396abeab1f2343dc83d9f5d4d11a742771e66d227cc1200a8619b615a648ca9ef7e7e55486936867bc03bd8c5d
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<h4 class="mb-3"
|
|
1
|
+
<h4 class="mb-3"><%= Spree.t('admin.gettting_started.lets_get_you_started') %></h4>
|
|
2
2
|
|
|
3
3
|
<div class="row mb-3">
|
|
4
4
|
<div class="col-4">
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<% else %>
|
|
10
10
|
<%= svg_icon name: 'tags', width: 20, height: 20, classes: "mr-3" %>
|
|
11
11
|
<% end %>
|
|
12
|
-
|
|
12
|
+
<%= Spree.t('admin.gettting_started.add_products') %>
|
|
13
13
|
</a>
|
|
14
14
|
<a class="list-group-item list-group-item-action <% if @shipping_methods_added %>list-group-item-info<% elsif @active_tab == 'shipping' %>active<% end %>" id="list-shipping-list" data-toggle="list" href="#list-shipping" role="tab" aria-controls="shipping">
|
|
15
15
|
<% if @shipping_methods_added %>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<% else %>
|
|
18
18
|
<%= svg_icon name: 'truck', width: 20, height: 20, classes: "mr-3" %>
|
|
19
19
|
<% end %>
|
|
20
|
-
|
|
20
|
+
<%= Spree.t('admin.gettting_started.setup_shipping') %>
|
|
21
21
|
</a>
|
|
22
22
|
<a class="list-group-item list-group-item-action <% if @payment_methods_added %>list-group-item-info<% elsif @active_tab == 'payments' %>active<% end %>" id="list-payments-list" data-toggle="list" href="#list-payments" role="tab" aria-controls="payments">
|
|
23
23
|
<% if @payment_methods_added %>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<% else %>
|
|
26
26
|
<%= svg_icon name: 'cash-coin', width: 20, height: 20, classes: "mr-3" %>
|
|
27
27
|
<% end %>
|
|
28
|
-
|
|
28
|
+
<%= Spree.t('admin.gettting_started.setup_payment_method') %>
|
|
29
29
|
</a>
|
|
30
30
|
<a class="list-group-item list-group-item-action <% if @taxes_added %>list-group-item-info<% elsif @active_tab == 'taxes' %>active<% end %>" id="list-taxes-list" data-toggle="list" href="#list-taxes" role="tab" aria-controls="taxes">
|
|
31
31
|
<% if @taxes_added %>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<% else %>
|
|
34
34
|
<%= svg_icon name: 'receipt', width: 20, height: 20, classes: "mr-3" %>
|
|
35
35
|
<% end %>
|
|
36
|
-
|
|
36
|
+
<%= Spree.t('admin.gettting_started.setup_taxes') %>
|
|
37
37
|
</a>
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
@@ -41,19 +41,18 @@
|
|
|
41
41
|
<div class="tab-content" id="nav-tabContent">
|
|
42
42
|
<div class="tab-pane fade <% if @active_tab == 'products'%>show active<% end %>" id="list-products" role="tabpanel" aria-labelledby="list-products-list">
|
|
43
43
|
<% if @products_added %>
|
|
44
|
-
<p>
|
|
45
|
-
You have added <strong><%= current_store.products.count %> products</strong> so far - good job!</p>
|
|
44
|
+
<p><%= Spree.t('admin.gettting_started.products_section.message_with_products_html', count: current_store.products.count ) %></p>
|
|
46
45
|
<% else %>
|
|
47
46
|
<p>
|
|
48
|
-
|
|
47
|
+
<%= Spree.t('admin.gettting_started.products_section.message_without_products') %>
|
|
49
48
|
</p>
|
|
50
|
-
<%= link_to_with_icon 'add.svg', '
|
|
49
|
+
<%= link_to_with_icon 'add.svg', Spree.t('admin.gettting_started.add_products'), spree.admin_products_path, class: 'btn btn-success btn-sm mb-2' %>
|
|
51
50
|
<% end %>
|
|
52
51
|
</div>
|
|
53
52
|
<div class="tab-pane fade <% if @active_tab == 'shipping'%>show active<% end %>" id="list-shipping" role="tabpanel" aria-labelledby="list-shipping-list">
|
|
54
53
|
<% if @shipping_methods_added %>
|
|
55
54
|
<p>
|
|
56
|
-
|
|
55
|
+
<%= Spree.t('admin.gettting_started.shipping_section.message_with_shipping') %>
|
|
57
56
|
<% @shippable_countries.each do |country| %>
|
|
58
57
|
<strong class="mr-2">
|
|
59
58
|
<%= country.name %>
|
|
@@ -63,39 +62,36 @@
|
|
|
63
62
|
</p>
|
|
64
63
|
<% else %>
|
|
65
64
|
<p>
|
|
66
|
-
|
|
65
|
+
<%= Spree.t('admin.gettting_started.shipping_section.message_without_shipping') %>
|
|
67
66
|
</p>
|
|
68
|
-
<%= link_to_with_icon 'settings.svg', '
|
|
67
|
+
<%= link_to_with_icon 'settings.svg', Spree.t('admin.gettting_started.setup_shipping'), spree.admin_shipping_methods_path, class: 'btn btn-primary btn-sm mb-2' %>
|
|
69
68
|
<% end %>
|
|
70
69
|
</div>
|
|
71
70
|
<div class="tab-pane fade <% if @active_tab == 'payments'%>show active<% end %>" id="list-payments" role="tabpanel" aria-labelledby="list-payments-list">
|
|
72
71
|
<% if @payment_methods_added %>
|
|
73
72
|
<p>
|
|
74
|
-
|
|
73
|
+
<%= Spree.t('admin.gettting_started.payment_methods_section.message_with_payment_method') %>
|
|
75
74
|
</p>
|
|
76
75
|
<% else %>
|
|
77
76
|
<p>
|
|
78
|
-
|
|
77
|
+
<%= Spree.t('admin.gettting_started.payment_methods_section.message_without_payment_method') %>
|
|
79
78
|
</p>
|
|
80
|
-
<%= link_to_with_icon 'settings.svg', '
|
|
79
|
+
<%= link_to_with_icon 'settings.svg', Spree.t('admin.gettting_started.setup_payment_method'), spree.admin_payment_methods_path, class: 'btn btn-primary btn-sm mb-2' %>
|
|
81
80
|
<% end %>
|
|
82
81
|
</div>
|
|
83
82
|
<div class="tab-pane fade <% if @active_tab == 'taxes' %>show active<% end %>" id="list-taxes" role="tabpanel" aria-labelledby="list-taxes-list">
|
|
84
83
|
<% if @taxes_added %>
|
|
85
84
|
<p>
|
|
86
|
-
|
|
85
|
+
<%= Spree.t('admin.gettting_started.taxes_section.message_with_taxes') %>
|
|
87
86
|
</p>
|
|
88
87
|
<% else %>
|
|
89
88
|
<p>
|
|
90
|
-
|
|
89
|
+
<%= Spree.t('admin.gettting_started.taxes_section.message_without_taxes') %>
|
|
91
90
|
</p>
|
|
92
|
-
<%= link_to_with_icon 'settings.svg', '
|
|
91
|
+
<%= link_to_with_icon 'settings.svg', Spree.t('admin.gettting_started.setup_taxes_calculation'), spree.admin_tax_rates_path, class: 'btn btn-primary btn-sm mb-2' %>
|
|
93
92
|
<% end %>
|
|
94
93
|
|
|
95
94
|
</div>
|
|
96
95
|
</div>
|
|
97
96
|
</div>
|
|
98
97
|
</div>
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
data/config/locales/en.yml
CHANGED
|
@@ -309,3 +309,22 @@ en:
|
|
|
309
309
|
deleted: Deleted
|
|
310
310
|
draft: Draft
|
|
311
311
|
pre_order: Pre-order
|
|
312
|
+
gettting_started:
|
|
313
|
+
lets_get_you_started: Let's get you started
|
|
314
|
+
add_products: Add products
|
|
315
|
+
setup_shipping: Setup shipping
|
|
316
|
+
setup_payment_method: Setup payment methods
|
|
317
|
+
setup_taxes: Setup taxes
|
|
318
|
+
setup_taxes_calculation: Setup tax calculation
|
|
319
|
+
products_section:
|
|
320
|
+
message_with_products_html: You have added <strong> %{count} products</strong> so far - good job!</p>
|
|
321
|
+
message_without_products: You can add products manually through API or import from a CSV file.
|
|
322
|
+
shipping_section:
|
|
323
|
+
message_with_shipping: You have setup shipping for
|
|
324
|
+
message_without_shipping: You can add multiple shipping methods, different for each country, continent or region.
|
|
325
|
+
payment_methods_section:
|
|
326
|
+
message_with_payment_method: You're ready to accept payments!
|
|
327
|
+
message_without_payment_method: You can setup multiple payment methods such as Stripe, PayPal, ApplePay, etc.
|
|
328
|
+
taxes_section:
|
|
329
|
+
message_with_taxes: You're tax calculation is setup!
|
|
330
|
+
message_without_taxes: You can use tax services such as TaxJar or setup tax calculation manually
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spree_backend
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.5.
|
|
4
|
+
version: 4.5.1
|
|
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:
|
|
12
|
+
date: 2023-04-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: spree
|
|
@@ -2408,9 +2408,9 @@ licenses:
|
|
|
2408
2408
|
- BSD-3-Clause
|
|
2409
2409
|
metadata:
|
|
2410
2410
|
bug_tracker_uri: https://github.com/spree/spree_backend/issues
|
|
2411
|
-
changelog_uri: https://github.com/spree/spree_backend/releases/tag/v4.5.
|
|
2411
|
+
changelog_uri: https://github.com/spree/spree_backend/releases/tag/v4.5.1
|
|
2412
2412
|
documentation_uri: https://dev-docs.spreecommerce.org/
|
|
2413
|
-
source_code_uri: https://github.com/spree/spree_backend/tree/v4.5.
|
|
2413
|
+
source_code_uri: https://github.com/spree/spree_backend/tree/v4.5.1
|
|
2414
2414
|
post_install_message:
|
|
2415
2415
|
rdoc_options: []
|
|
2416
2416
|
require_paths:
|
|
@@ -2427,7 +2427,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
2427
2427
|
version: '0'
|
|
2428
2428
|
requirements:
|
|
2429
2429
|
- none
|
|
2430
|
-
rubygems_version: 3.
|
|
2430
|
+
rubygems_version: 3.2.3
|
|
2431
2431
|
signing_key:
|
|
2432
2432
|
specification_version: 4
|
|
2433
2433
|
summary: Admin Dashboard for Spree eCommerce platform
|