solidus_backend 3.2.4 → 3.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/spree/backend/shared/_tables.scss +4 -2
- data/app/controllers/spree/admin/prices_controller.rb +1 -1
- data/app/views/spree/admin/product_properties/index.html.erb +2 -2
- data/app/views/spree/admin/users/_user_page_actions.html.erb +1 -1
- data/app/views/spree/admin/users/items.html.erb +1 -1
- data/app/views/spree/admin/users/orders.html.erb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e35c129c55af8f84be5738dc2fc035edd162afdbeb348dfebda1a1e59e2988ff
|
4
|
+
data.tar.gz: 1a684f58d3a9716fc5f090e14d8debade6f1b2a1d6096fd644ed3b08da0d7e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5c35ef9d44943033d97eddaaca062ee5b921315b787e756dd63ffb868637be582d88d0119728cdde06a5cf9a7aa71ede41b62c72645f0e7e48874472aee2e5f
|
7
|
+
data.tar.gz: 171a020998f6c281b0c788d655e7d57eb186aaa0e0d49802f9bfc0356267b13234169de444e1940109b8b465c926805b19d8758169caae3664cb5cfc857e7850
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "spree/backend/components/actions";
|
2
|
+
|
1
3
|
table {
|
2
4
|
// Extend all tables with Bootstrap's default table style
|
3
5
|
@extend .table;
|
@@ -114,8 +116,8 @@ table {
|
|
114
116
|
tbody {
|
115
117
|
tr {
|
116
118
|
&.deleted td {
|
117
|
-
background-color:
|
118
|
-
|
119
|
+
background-color: $color-action-remove-bg;
|
120
|
+
text-decoration: line-through;
|
119
121
|
}
|
120
122
|
}
|
121
123
|
|
@@ -8,7 +8,7 @@ module Spree
|
|
8
8
|
def index
|
9
9
|
params[:q] ||= {}
|
10
10
|
|
11
|
-
@search = @product.prices.accessible_by(current_ability, :index).ransack(params[:q])
|
11
|
+
@search = @product.prices.kept.accessible_by(current_ability, :index).ransack(params[:q])
|
12
12
|
@master_prices = @search.result
|
13
13
|
.currently_valid
|
14
14
|
.for_master
|
@@ -36,7 +36,7 @@
|
|
36
36
|
</tbody>
|
37
37
|
</table>
|
38
38
|
|
39
|
-
<% if can?(
|
39
|
+
<% if can?(:create, Spree::ProductProperty) && can?(:update, Spree::ProductProperty) %>
|
40
40
|
<%= render 'spree/admin/shared/edit_resource_links' %>
|
41
41
|
<% end %>
|
42
42
|
|
@@ -95,7 +95,7 @@
|
|
95
95
|
<% end %>
|
96
96
|
</tbody>
|
97
97
|
</table>
|
98
|
-
<% if can?(
|
98
|
+
<% if can?(:create, Spree::VariantPropertyRule) && can?(:update, Spree::VariantPropertyRule) %>
|
99
99
|
<%= render 'spree/admin/shared/edit_resource_links' %>
|
100
100
|
<% end %>
|
101
101
|
</fieldset>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<% content_for :page_actions do %>
|
2
|
-
<% if can?(
|
2
|
+
<% if can?(:admin, Spree::Order) && can?(:create, Spree::Order) %>
|
3
3
|
<li>
|
4
4
|
<%= link_to t(".create_order"), spree.new_admin_order_path(user_id: @user.id), class: 'btn btn-primary' %>
|
5
5
|
</li>
|
@@ -38,7 +38,7 @@
|
|
38
38
|
<tr data-hook="admin_orders_index_rows">
|
39
39
|
<td class="order-completed-at"><%= l(order.completed_at.to_date) if order.completed_at %></td>
|
40
40
|
<td class="order-number">
|
41
|
-
<% if can?(
|
41
|
+
<% if can?(:admin, order) && can?(:edit, order) %>
|
42
42
|
<%= link_to order.number, edit_admin_order_path(order) %>
|
43
43
|
<% else %>
|
44
44
|
<%= order.number %>
|
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: 3.2.
|
4
|
+
version: 3.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Solidus Team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-07 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: 3.2.
|
19
|
+
version: 3.2.6
|
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: 3.2.
|
26
|
+
version: 3.2.6
|
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: 3.2.
|
33
|
+
version: 3.2.6
|
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: 3.2.
|
40
|
+
version: 3.2.6
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: font-awesome-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -896,7 +896,7 @@ licenses:
|
|
896
896
|
- BSD-3-Clause
|
897
897
|
metadata:
|
898
898
|
rubygems_mfa_required: 'true'
|
899
|
-
post_install_message:
|
899
|
+
post_install_message:
|
900
900
|
rdoc_options: []
|
901
901
|
require_paths:
|
902
902
|
- lib
|
@@ -911,8 +911,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
911
911
|
- !ruby/object:Gem::Version
|
912
912
|
version: 1.8.23
|
913
913
|
requirements: []
|
914
|
-
rubygems_version: 3.3.
|
915
|
-
signing_key:
|
914
|
+
rubygems_version: 3.3.7
|
915
|
+
signing_key:
|
916
916
|
specification_version: 4
|
917
917
|
summary: Admin interface for the Solidus e-commerce framework.
|
918
918
|
test_files: []
|