spree_backend 2.2.1 → 2.2.2
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/assets/javascripts/spree/backend/admin.js.erb +1 -1
- data/app/assets/javascripts/spree/backend/payments/edit.js.coffee +2 -2
- data/app/assets/javascripts/spree/backend/shipments.js.erb +11 -12
- data/app/assets/javascripts/spree/backend/spree-select2.js.erb +1 -1
- data/app/assets/javascripts/spree/backend/taxon_tree_menu.js.coffee +4 -4
- data/app/assets/javascripts/spree/backend/variant_autocomplete.js.erb +2 -2
- data/app/assets/stylesheets/spree/backend/components/_date-picker.scss +2 -2
- data/app/assets/stylesheets/spree/backend/hacks/_ie.scss +2 -2
- data/app/assets/stylesheets/spree/backend/hacks/_mozilla.scss +1 -1
- data/app/assets/stylesheets/spree/backend/hacks/_opera.scss +1 -1
- data/app/assets/stylesheets/spree/backend/plugins/_jstree.scss +6 -6
- data/app/assets/stylesheets/spree/backend/plugins/_select2.scss +5 -7
- data/app/assets/stylesheets/spree/backend/shared/_icons.scss +17 -7
- data/app/assets/stylesheets/spree/backend/shared/_tables.scss +9 -9
- data/app/controllers/spree/admin/orders/customer_details_controller.rb +1 -1
- data/app/controllers/spree/admin/products_controller.rb +1 -1
- data/app/controllers/spree/admin/promotions_controller.rb +1 -0
- data/app/controllers/spree/admin/resource_controller.rb +1 -1
- data/app/controllers/spree/admin/variants_controller.rb +1 -1
- data/app/helpers/spree/admin/adjustments_helper.rb +1 -1
- data/app/helpers/spree/admin/base_helper.rb +3 -3
- data/app/helpers/spree/admin/navigation_helper.rb +8 -8
- data/app/helpers/spree/admin/orders_helper.rb +1 -1
- data/app/views/spree/admin/adjustments/edit.html.erb +4 -4
- data/app/views/spree/admin/adjustments/index.html.erb +5 -5
- data/app/views/spree/admin/adjustments/new.html.erb +4 -4
- data/app/views/spree/admin/countries/edit.html.erb +1 -1
- data/app/views/spree/admin/countries/index.html.erb +1 -1
- data/app/views/spree/admin/countries/new.html.erb +1 -1
- data/app/views/spree/admin/general_settings/edit.html.erb +2 -2
- data/app/views/spree/admin/images/edit.html.erb +3 -3
- data/app/views/spree/admin/images/index.html.erb +2 -2
- data/app/views/spree/admin/images/new.html.erb +2 -2
- data/app/views/spree/admin/log_entries/index.html.erb +5 -5
- data/app/views/spree/admin/option_types/edit.html.erb +2 -2
- data/app/views/spree/admin/option_types/index.html.erb +1 -1
- data/app/views/spree/admin/orders/_line_items.html.erb +4 -4
- data/app/views/spree/admin/orders/_shipment.html.erb +16 -15
- data/app/views/spree/admin/orders/_shipment_manifest.html.erb +5 -5
- data/app/views/spree/admin/orders/customer_details/_form.html.erb +1 -1
- data/app/views/spree/admin/orders/customer_details/edit.html.erb +2 -4
- data/app/views/spree/admin/orders/edit.html.erb +2 -3
- data/app/views/spree/admin/orders/index.html.erb +3 -3
- data/app/views/spree/admin/payment_methods/edit.html.erb +3 -3
- data/app/views/spree/admin/payment_methods/index.html.erb +1 -1
- data/app/views/spree/admin/payment_methods/new.html.erb +2 -2
- data/app/views/spree/admin/payments/_form.html.erb +1 -1
- data/app/views/spree/admin/payments/_list.html.erb +1 -1
- data/app/views/spree/admin/payments/credit.html.erb +1 -1
- data/app/views/spree/admin/payments/index.html.erb +3 -3
- data/app/views/spree/admin/payments/new.html.erb +3 -3
- data/app/views/spree/admin/payments/show.html.erb +4 -4
- data/app/views/spree/admin/product_properties/index.html.erb +2 -2
- data/app/views/spree/admin/products/_add_stock_form.html.erb +2 -2
- data/app/views/spree/admin/products/edit.html.erb +2 -2
- data/app/views/spree/admin/products/index.html.erb +3 -3
- data/app/views/spree/admin/products/stock.html.erb +2 -2
- data/app/views/spree/admin/promotions/_actions.html.erb +2 -2
- data/app/views/spree/admin/promotions/_promotion_action.html.erb +1 -1
- data/app/views/spree/admin/promotions/_promotion_rule.html.erb +1 -1
- data/app/views/spree/admin/promotions/_rules.html.erb +2 -2
- data/app/views/spree/admin/promotions/actions/_create_line_items.html.erb +7 -3
- data/app/views/spree/admin/promotions/edit.html.erb +1 -1
- data/app/views/spree/admin/promotions/index.html.erb +2 -2
- data/app/views/spree/admin/promotions/new.html.erb +1 -1
- data/app/views/spree/admin/properties/edit.html.erb +1 -1
- data/app/views/spree/admin/properties/index.html.erb +1 -1
- data/app/views/spree/admin/prototypes/_prototypes.html.erb +1 -1
- data/app/views/spree/admin/prototypes/edit.html.erb +1 -1
- data/app/views/spree/admin/prototypes/index.html.erb +1 -1
- data/app/views/spree/admin/reports/sales_total.html.erb +1 -1
- data/app/views/spree/admin/return_authorizations/edit.html.erb +5 -5
- data/app/views/spree/admin/return_authorizations/index.html.erb +4 -4
- data/app/views/spree/admin/return_authorizations/new.html.erb +4 -4
- data/app/views/spree/admin/shared/_edit_resource_links.html.erb +2 -2
- data/app/views/spree/admin/shared/_new_resource_links.html.erb +2 -2
- data/app/views/spree/admin/shared/_order_submenu.html.erb +5 -5
- data/app/views/spree/admin/shared/_product_tabs.html.erb +5 -5
- data/app/views/spree/admin/shared/_report_criteria.html.erb +2 -2
- data/app/views/spree/admin/shared/_report_order_criteria.html.erb +2 -2
- data/app/views/spree/admin/shared/_routes.html.erb +1 -0
- data/app/views/spree/admin/shared/_tabs.html.erb +6 -6
- data/app/views/spree/admin/shipping_categories/edit.html.erb +1 -1
- data/app/views/spree/admin/shipping_categories/index.html.erb +1 -1
- data/app/views/spree/admin/shipping_categories/new.html.erb +1 -1
- data/app/views/spree/admin/shipping_methods/_form.html.erb +6 -5
- data/app/views/spree/admin/shipping_methods/edit.html.erb +1 -1
- data/app/views/spree/admin/shipping_methods/index.html.erb +2 -2
- data/app/views/spree/admin/shipping_methods/new.html.erb +1 -1
- data/app/views/spree/admin/states/_state_list.html.erb +1 -1
- data/app/views/spree/admin/states/edit.html.erb +2 -2
- data/app/views/spree/admin/states/index.html.erb +1 -1
- data/app/views/spree/admin/stock_locations/_transfer_stock_form.html.erb +2 -2
- data/app/views/spree/admin/stock_locations/edit.html.erb +2 -2
- data/app/views/spree/admin/stock_locations/index.html.erb +2 -2
- data/app/views/spree/admin/stock_locations/new.html.erb +1 -1
- data/app/views/spree/admin/stock_movements/edit.html.erb +1 -1
- data/app/views/spree/admin/stock_movements/index.html.erb +3 -3
- data/app/views/spree/admin/stock_movements/new.html.erb +1 -1
- data/app/views/spree/admin/stock_transfers/index.html.erb +3 -3
- data/app/views/spree/admin/stock_transfers/new.html.erb +4 -4
- data/app/views/spree/admin/stock_transfers/show.html.erb +4 -4
- data/app/views/spree/admin/tax_categories/edit.html.erb +1 -1
- data/app/views/spree/admin/tax_categories/index.html.erb +1 -1
- data/app/views/spree/admin/tax_categories/new.html.erb +1 -1
- data/app/views/spree/admin/tax_rates/edit.html.erb +1 -1
- data/app/views/spree/admin/tax_rates/index.html.erb +1 -1
- data/app/views/spree/admin/tax_rates/new.html.erb +1 -1
- data/app/views/spree/admin/tax_settings/edit.html.erb +1 -1
- data/app/views/spree/admin/taxonomies/edit.erb +3 -3
- data/app/views/spree/admin/taxonomies/index.html.erb +1 -1
- data/app/views/spree/admin/taxonomies/new.html.erb +2 -2
- data/app/views/spree/admin/taxons/edit.html.erb +3 -3
- data/app/views/spree/admin/trackers/edit.html.erb +1 -1
- data/app/views/spree/admin/trackers/index.html.erb +1 -1
- data/app/views/spree/admin/trackers/new.html.erb +1 -1
- data/app/views/spree/admin/users/_sidebar.html.erb +4 -4
- data/app/views/spree/admin/users/_user_page_actions.html.erb +1 -1
- data/app/views/spree/admin/users/edit.html.erb +3 -3
- data/app/views/spree/admin/users/index.html.erb +2 -2
- data/app/views/spree/admin/users/new.html.erb +1 -1
- data/app/views/spree/admin/variants/_autocomplete_stock.js.erb +2 -2
- data/app/views/spree/admin/variants/_split.js.erb +2 -2
- data/app/views/spree/admin/variants/index.html.erb +2 -2
- data/app/views/spree/admin/zones/edit.html.erb +1 -1
- data/app/views/spree/admin/zones/index.html.erb +1 -1
- data/app/views/spree/admin/zones/new.html.erb +1 -1
- data/config/routes.rb +1 -2
- metadata +7 -9
- data/app/assets/javascripts/spree/backend/spree_backend.js +0 -20
- data/app/assets/stylesheets/spree/backend/spree_backend.css +0 -17
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<% content_for :page_title do %>
|
|
2
|
-
<%= Spree.t(:editing_stock_location) %> <i class="
|
|
2
|
+
<%= Spree.t(:editing_stock_location) %> <i class="fa fa-arrow-right"></i>
|
|
3
3
|
<%= @stock_location.name %>
|
|
4
4
|
<% end %>
|
|
5
5
|
|
|
6
6
|
<% content_for :page_actions do %>
|
|
7
|
-
<li><%= link_to_with_icon '
|
|
7
|
+
<li><%= link_to_with_icon 'arrow-left', Spree.t(:back_to_stock_locations_list), admin_stock_locations_path, :class => 'button' %></li>
|
|
8
8
|
<% end %>
|
|
9
9
|
|
|
10
10
|
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @stock_location } %>
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<ul class="actions inline-menu">
|
|
9
9
|
<li>
|
|
10
|
-
<%= button_link_to Spree.t(:new_stock_location), new_object_url, { :icon => '
|
|
10
|
+
<%= button_link_to Spree.t(:new_stock_location), new_object_url, { :icon => 'plus', :id => 'admin_new_stock_location' } %>
|
|
11
11
|
</li>
|
|
12
12
|
<li>
|
|
13
|
-
<%= button_link_to Spree.t(:new_stock_transfer), new_admin_stock_transfer_path, { :icon => '
|
|
13
|
+
<%= button_link_to Spree.t(:new_stock_transfer), new_admin_stock_transfer_path, { :icon => 'forward' } %>
|
|
14
14
|
</li>
|
|
15
15
|
</ul>
|
|
16
16
|
<% end %>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<% end %>
|
|
4
4
|
|
|
5
5
|
<% content_for :page_actions do %>
|
|
6
|
-
<li><%= link_to_with_icon '
|
|
6
|
+
<li><%= link_to_with_icon 'arrow-left', Spree.t(:back_to_stock_locations_list), admin_stock_locations_path, :class => 'button' %></li>
|
|
7
7
|
<% end %>
|
|
8
8
|
|
|
9
9
|
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @stock_locations } %>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<% end %>
|
|
4
4
|
|
|
5
5
|
<% content_for :page_actions do %>
|
|
6
|
-
<li><%= link_to_with_icon '
|
|
6
|
+
<li><%= link_to_with_icon 'arrow-left', Spree.t(:back_to_stock_movements_list), admin_stock_location_stock_movements_path(stock_location), :class => 'button' %></li>
|
|
7
7
|
<% end %>
|
|
8
8
|
|
|
9
9
|
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @stock_movement } %>
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:new_stock_movement), new_admin_stock_location_stock_movement_path(@stock_location), icon: '
|
|
9
|
+
<%= button_link_to Spree.t(:new_stock_movement), new_admin_stock_location_stock_movement_path(@stock_location), icon: 'plus', id: 'admin_new_stock_movement_link' %>
|
|
10
10
|
</li>
|
|
11
11
|
<li>
|
|
12
|
-
<%= link_to_with_icon '
|
|
12
|
+
<%= link_to_with_icon 'arrow-left', Spree.t(:back_to_stock_locations_list), admin_stock_locations_path, :class => 'button' %>
|
|
13
13
|
</li>
|
|
14
14
|
<% end %>
|
|
15
15
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
<% else %>
|
|
43
43
|
<div class="alpha twelve columns no-objects-found">
|
|
44
44
|
<%= Spree.t(:no_resource_found, resource: I18n.t(:other, scope: 'activerecord.models.spree/stock_movement')) %>,
|
|
45
|
-
<%= link_to Spree.t(:add_one), spree.
|
|
45
|
+
<%= link_to Spree.t(:add_one), spree.new_admin_stock_location_stock_movement_path(@stock_location) %>!
|
|
46
46
|
</div>
|
|
47
47
|
<% end %>
|
|
48
48
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<% end %>
|
|
4
4
|
|
|
5
5
|
<% content_for :page_actions do %>
|
|
6
|
-
<li><%= link_to_with_icon '
|
|
6
|
+
<li><%= link_to_with_icon 'arrow-left', Spree.t(:back_to_stock_movements_list), admin_stock_location_stock_movements_path(stock_location), :class => 'button' %></li>
|
|
7
7
|
<% end %>
|
|
8
8
|
|
|
9
9
|
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @stock_movement } %>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:new_stock_transfer), new_admin_stock_transfer_path, { :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:new_stock_transfer), new_admin_stock_transfer_path, { :icon => 'forward' } %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
<div class="actions filter-actions">
|
|
46
46
|
<div data-hook="admin_stock_transfers_index_search_buttons">
|
|
47
|
-
<%= button Spree.t(:filter_results), '
|
|
47
|
+
<%= button Spree.t(:filter_results), 'search' %>
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
50
50
|
<% end %>
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<td class="align-center"><%= stock_transfer.destination_location.try(:name) %></td>
|
|
79
79
|
<td class='actions'>
|
|
80
80
|
<%= link_to '', admin_stock_transfer_path(stock_transfer),
|
|
81
|
-
title: 'view', class: 'view icon_link with-tip
|
|
81
|
+
title: 'view', class: 'view icon_link with-tip fa fa-eye-open no-text',
|
|
82
82
|
data: {action: 'view'} %>
|
|
83
83
|
</td>
|
|
84
84
|
</tr>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:back_to_stock_transfers_list), admin_stock_transfers_path, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:back_to_stock_transfers_list), admin_stock_transfers_path, :icon => 'arrow-left' %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<td>{{name}}</td>
|
|
17
17
|
<td class='align-center'>{{quantity}}</td>
|
|
18
18
|
<td class='actions'>
|
|
19
|
-
<button class='icon_link
|
|
19
|
+
<button class='icon_link fa fa-trash no-text transfer_remove_variant'
|
|
20
20
|
data-variant-id='{{id}}' data-action='remove'></button>
|
|
21
21
|
</td>
|
|
22
22
|
<input type='hidden' id='variant[]' name='variant[]' value='{{id}}'>
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
</div>
|
|
76
76
|
<div class="two columns omega">
|
|
77
77
|
<div class="field" style="padding: 25px 0 0 0 !important">
|
|
78
|
-
<%= button Spree.t(:add), '
|
|
78
|
+
<%= button Spree.t(:add), 'plus button transfer_add_variant' %>
|
|
79
79
|
</div>
|
|
80
80
|
</div>
|
|
81
81
|
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
</div>
|
|
106
106
|
|
|
107
107
|
<div class="filter-actions actions" data-hook="buttons">
|
|
108
|
-
<%= button Spree.t(:transfer_stock), '
|
|
108
|
+
<%= button Spree.t(:transfer_stock), 'plus transfer_transfer' %>
|
|
109
109
|
</div>
|
|
110
110
|
</fieldset>
|
|
111
111
|
<% end %>
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:back_to_stock_transfers_list), admin_stock_transfers_path, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:back_to_stock_transfers_list), admin_stock_transfers_path, :icon => 'arrow-left' %>
|
|
10
10
|
</li>
|
|
11
11
|
<li>
|
|
12
|
-
<%= button_link_to Spree.t(:new_stock_transfer), new_admin_stock_transfer_path, { :icon => '
|
|
12
|
+
<%= button_link_to Spree.t(:new_stock_transfer), new_admin_stock_transfer_path, { :icon => 'forward' } %>
|
|
13
13
|
</li>
|
|
14
14
|
<% end %>
|
|
15
15
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<% if @stock_transfer.source_movements.present? %>
|
|
34
34
|
<fieldset class="no-border-bottom">
|
|
35
35
|
<legend id="stock-location-source">
|
|
36
|
-
<%= Spree.t(:source) %> <i class="
|
|
36
|
+
<%= Spree.t(:source) %> <i class="fa fa-arrow-right"></i> <%= @stock_transfer.source_location.name %>
|
|
37
37
|
</legend>
|
|
38
38
|
<%= render :partial => 'stock_movements', :object => @stock_transfer.source_movements %>
|
|
39
39
|
</fieldset>
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
<% if @stock_transfer.destination_movements.present? %>
|
|
43
43
|
<fieldset class="no-border-bottom">
|
|
44
44
|
<legend id="stock-location-destination">
|
|
45
|
-
<%= Spree.t(:destination) %> <i class="
|
|
45
|
+
<%= Spree.t(:destination) %> <i class="fa fa-arrow-right"></i> <%= @stock_transfer.destination_location.name %>
|
|
46
46
|
</legend>
|
|
47
47
|
<%= render :partial => 'stock_movements', :object => @stock_transfer.destination_movements %>
|
|
48
48
|
</fieldset>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<% end %>
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
|
-
<li><%= link_to_with_icon '
|
|
8
|
+
<li><%= link_to_with_icon 'arrow-left', Spree.t(:back_to_tax_categories_list), admin_tax_categories_path, :class => 'button' %></li>
|
|
9
9
|
<% end %>
|
|
10
10
|
|
|
11
11
|
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @tax_category } %>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<ul class="actions inline-menu">
|
|
9
9
|
<li>
|
|
10
|
-
<%= button_link_to Spree.t(:new_tax_category), new_object_url, :icon => '
|
|
10
|
+
<%= button_link_to Spree.t(:new_tax_category), new_object_url, :icon => 'plus', :id => 'admin_new_tax_categories_link' %>
|
|
11
11
|
</li>
|
|
12
12
|
</ul>
|
|
13
13
|
<% end %>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<% end %>
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
|
-
<li><%= link_to_with_icon '
|
|
8
|
+
<li><%= link_to_with_icon 'arrow-left', Spree.t(:back_to_tax_categories_list), admin_tax_categories_path, :class => 'button' %></li>
|
|
9
9
|
<% end %>
|
|
10
10
|
|
|
11
11
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:back_to_tax_rates_list), spree.admin_tax_rates_path, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:back_to_tax_rates_list), spree.admin_tax_rates_path, :icon => 'arrow-left' %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:back_to_tax_rates_list), spree.admin_tax_rates_path, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:back_to_tax_rates_list), spree.admin_tax_rates_path, :icon => 'arrow-left' %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<% content_for :page_actions do %>
|
|
10
10
|
<li>
|
|
11
|
-
<%= button_link_to Spree.t(:back_to_taxonomies_list), spree.admin_taxonomies_path, :icon => '
|
|
11
|
+
<%= button_link_to Spree.t(:back_to_taxonomies_list), spree.admin_taxonomies_path, :icon => 'arrow-left' %>
|
|
12
12
|
</li>
|
|
13
13
|
<% end %>
|
|
14
14
|
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
<br>
|
|
36
36
|
|
|
37
37
|
<div class="filter-actions actions">
|
|
38
|
-
<%= button Spree.t('actions.update'), '
|
|
38
|
+
<%= button Spree.t('actions.update'), 'refresh' %>
|
|
39
39
|
<span class="or"><%= Spree.t(:or) %></span>
|
|
40
|
-
<%= button_link_to Spree.t('actions.cancel'), admin_taxonomies_path, :icon => '
|
|
40
|
+
<%= button_link_to Spree.t('actions.cancel'), admin_taxonomies_path, :icon => 'remove' %>
|
|
41
41
|
</div>
|
|
42
42
|
</fieldset>
|
|
43
43
|
<% end %>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:new_taxonomy), spree.new_admin_taxonomy_url, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:new_taxonomy), spree.new_admin_taxonomy_url, :icon => 'plus', :id => 'admin_new_taxonomy_link' %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:back_to_taxonomies_list), spree.admin_taxonomies_path, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:back_to_taxonomies_list), spree.admin_taxonomies_path, :icon => 'arrow-left' %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<fieldset class="no-border-top">
|
|
17
17
|
<br>
|
|
18
18
|
<div class="filter-actions actions" data-hook="buttons">
|
|
19
|
-
<%= button Spree.t(:create), '
|
|
19
|
+
<%= button Spree.t(:create), 'ok' %>
|
|
20
20
|
</div>
|
|
21
21
|
</fieldset>
|
|
22
22
|
<% end %>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:back_to_taxonomies_list), spree.admin_taxonomies_path, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:back_to_taxonomies_list), spree.admin_taxonomies_path, :icon => 'arrow-left' %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
<%= render 'form', :f => f %>
|
|
17
17
|
|
|
18
18
|
<div class="form-buttons" data-hook="buttons">
|
|
19
|
-
<%= button Spree.t('actions.update'), '
|
|
19
|
+
<%= button Spree.t('actions.update'), 'refresh' %>
|
|
20
20
|
<%= Spree.t(:or) %>
|
|
21
|
-
<%= button_link_to Spree.t('actions.cancel'), edit_admin_taxonomy_url(@taxonomy), :icon => "
|
|
21
|
+
<%= button_link_to Spree.t('actions.cancel'), edit_admin_taxonomy_url(@taxonomy), :icon => "remove" %>
|
|
22
22
|
</div>
|
|
23
23
|
<% end %>
|
|
24
24
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:back_to_trackers_list), spree.admin_trackers_path, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:back_to_trackers_list), spree.admin_trackers_path, :icon => 'arrow-left' %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:new_tracker), new_object_url, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:new_tracker), new_object_url, :icon => 'plus', :id => 'admin_new_tracker_link' %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<% content_for :page_actions do %>
|
|
8
8
|
<li>
|
|
9
|
-
<%= button_link_to Spree.t(:back_to_trackers_list), spree.admin_trackers_path, :icon => '
|
|
9
|
+
<%= button_link_to Spree.t(:back_to_trackers_list), spree.admin_trackers_path, :icon => 'arrow-left' %>
|
|
10
10
|
</li>
|
|
11
11
|
<% end %>
|
|
12
12
|
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
<nav class="menu">
|
|
7
7
|
<ul data-hook="admin_user_tab_options">
|
|
8
8
|
<li<%== ' class="active"' if current == :account %>>
|
|
9
|
-
<%= link_to_with_icon '
|
|
9
|
+
<%= link_to_with_icon 'user', Spree.t(:"admin.user.account"), edit_admin_user_path(@user) %>
|
|
10
10
|
</li>
|
|
11
11
|
<li<%== ' class="active"' if current == :address %>>
|
|
12
|
-
<%= link_to_with_icon '
|
|
12
|
+
<%= link_to_with_icon 'user', Spree.t(:"admin.user.addresses"), addresses_admin_user_path(@user) %>
|
|
13
13
|
</li>
|
|
14
14
|
<li<%== ' class="active"' if current == :orders %>>
|
|
15
|
-
<%= link_to_with_icon '
|
|
15
|
+
<%= link_to_with_icon 'shopping-cart', Spree.t(:"admin.user.orders"), orders_admin_user_path(@user) %>
|
|
16
16
|
</li>
|
|
17
17
|
<li<%== ' class="active"' if current == :items %>>
|
|
18
|
-
<%= link_to_with_icon '
|
|
18
|
+
<%= link_to_with_icon 'edit', Spree.t(:"admin.user.items"), items_admin_user_path(@user) %>
|
|
19
19
|
</li>
|
|
20
20
|
</ul>
|
|
21
21
|
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
</div>
|
|
33
33
|
<div class="filter-actions actions">
|
|
34
34
|
<%= form_tag spree.clear_api_key_admin_user_path(@user), :method => :put do %>
|
|
35
|
-
<%= button Spree.t('clear_key', :scope => 'api'), '
|
|
35
|
+
<%= button Spree.t('clear_key', :scope => 'api'), 'trash' %>
|
|
36
36
|
<% end %>
|
|
37
37
|
|
|
38
38
|
<span class="or"><%= Spree.t(:or)%></span>
|
|
39
39
|
|
|
40
40
|
<%= form_tag spree.generate_api_key_admin_user_path(@user), :method => :put do %>
|
|
41
|
-
<%= button Spree.t('regenerate_key', :scope => 'api'), '
|
|
41
|
+
<%= button Spree.t('regenerate_key', :scope => 'api'), 'refresh' %>
|
|
42
42
|
<% end %>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
|
|
49
49
|
<div class="filter-actions actions">
|
|
50
50
|
<%= form_tag spree.generate_api_key_admin_user_path(@user), :method => :put do %>
|
|
51
|
-
<%= button Spree.t('generate_key', :scope => 'api'), '
|
|
51
|
+
<%= button Spree.t('generate_key', :scope => 'api'), 'key' %>
|
|
52
52
|
<% end %>
|
|
53
53
|
</div>
|
|
54
54
|
<% end %>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<% content_for :page_actions do %>
|
|
6
6
|
<li>
|
|
7
|
-
<%= button_link_to Spree.t(:new_user), new_admin_user_url, :icon => '
|
|
7
|
+
<%= button_link_to Spree.t(:new_user), new_admin_user_url, :icon => 'plus', :id => 'admin_new_user_link' %>
|
|
8
8
|
</li>
|
|
9
9
|
<% end %>
|
|
10
10
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<%= f.text_field :email_cont, :class => 'fullwidth' %>
|
|
47
47
|
</div>
|
|
48
48
|
<div data-hook="admin_users_index_search_buttons">
|
|
49
|
-
<%= button Spree.t(:search), '
|
|
49
|
+
<%= button Spree.t(:search), 'search' %>
|
|
50
50
|
</div>
|
|
51
51
|
<% end %>
|
|
52
52
|
</div>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<% content_for :page_actions do %>
|
|
6
6
|
<li>
|
|
7
|
-
<%= button_link_to Spree.t(:back_to_users_list), spree.admin_users_path, :icon => '
|
|
7
|
+
<%= button_link_to Spree.t(:back_to_users_list), spree.admin_users_path, :icon => 'arrow-left' %>
|
|
8
8
|
</li>
|
|
9
9
|
<% end %>
|
|
10
10
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<input class="quantity" id="stock_item_quantity" data-stock-location-id="{{this.stock_location_id}}" type="number" min="1" value="1">
|
|
28
28
|
</td>
|
|
29
29
|
<td class="actions">
|
|
30
|
-
<button class="add_variant no-text
|
|
30
|
+
<button class="add_variant no-text fa fa-plus icon_link with-tip" data-stock-location-id="{{this.stock_location_id}}" title="<%= Spree.t(:add) %>" data-action="add"></button>
|
|
31
31
|
</td>
|
|
32
32
|
{{else}}
|
|
33
33
|
{{#if this.available}}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
<input class="quantity" id="stock_item_quantity" data-stock-location-id="{{this.stock_location_id}}" type="number" min="1" value="1">
|
|
40
40
|
</td>
|
|
41
41
|
<td class="actions">
|
|
42
|
-
<button class="add_variant no-text
|
|
42
|
+
<button class="add_variant no-text fa fa-plus icon_link with-tip" data-stock-location-id="{{this.stock_location_id}}" title="<%= Spree.t(:add) %>" data-action="add"></button>
|
|
43
43
|
</td>
|
|
44
44
|
{{else}}
|
|
45
45
|
<td><%= Spree.t(:out_of_stock) %></td>
|