spree_admin 5.1.3 → 5.1.4

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.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/spree/admin/base_controller.rb +6 -0
  3. data/app/controllers/spree/admin/reports_controller.rb +0 -6
  4. data/app/helpers/spree/admin/navigation_helper.rb +9 -3
  5. data/app/views/spree/admin/admin_users/index.html.erb +6 -0
  6. data/app/views/spree/admin/coupon_codes/index.html.erb +6 -0
  7. data/app/views/spree/admin/custom_domains/index.html.erb +4 -3
  8. data/app/views/spree/admin/customer_returns/index.html.erb +6 -0
  9. data/app/views/spree/admin/digital_assets/index.html.erb +3 -0
  10. data/app/views/spree/admin/exports/index.html.erb +6 -0
  11. data/app/views/spree/admin/gift_cards/_filters.html.erb +2 -0
  12. data/app/views/spree/admin/gift_cards/index.html.erb +3 -0
  13. data/app/views/spree/admin/integrations/index.html.erb +6 -0
  14. data/app/views/spree/admin/invitations/index.html.erb +6 -0
  15. data/app/views/spree/admin/oauth_applications/index.html.erb +3 -0
  16. data/app/views/spree/admin/option_types/index.html.erb +3 -0
  17. data/app/views/spree/admin/orders/index.html.erb +3 -0
  18. data/app/views/spree/admin/pages/index.html.erb +3 -0
  19. data/app/views/spree/admin/payment_methods/index.html.erb +6 -0
  20. data/app/views/spree/admin/post_categories/index.html.erb +4 -1
  21. data/app/views/spree/admin/posts/_filters.html.erb +1 -0
  22. data/app/views/spree/admin/posts/index.html.erb +4 -3
  23. data/app/views/spree/admin/products/index.html.erb +10 -1
  24. data/app/views/spree/admin/profile/edit.html.erb +1 -1
  25. data/app/views/spree/admin/promotions/_filters.html.erb +1 -1
  26. data/app/views/spree/admin/promotions/_header.html.erb +2 -6
  27. data/app/views/spree/admin/promotions/index.html.erb +3 -0
  28. data/app/views/spree/admin/properties/index.html.erb +3 -0
  29. data/app/views/spree/admin/refund_reasons/index.html.erb +6 -3
  30. data/app/views/spree/admin/reimbursement_types/index.html.erb +6 -3
  31. data/app/views/spree/admin/reports/index.html.erb +6 -0
  32. data/app/views/spree/admin/return_authorization_reasons/index.html.erb +6 -3
  33. data/app/views/spree/admin/return_authorizations/index.html.erb +6 -0
  34. data/app/views/spree/admin/roles/_form.html.erb +1 -1
  35. data/app/views/spree/admin/roles/index.html.erb +5 -2
  36. data/app/views/spree/admin/roles/new.html.erb +12 -9
  37. data/app/views/spree/admin/shared/_returns_and_refunds_nav.html.erb +1 -0
  38. data/app/views/spree/admin/shared/_shipping_nav.html.erb +1 -0
  39. data/app/views/spree/admin/shared/_stock_nav.html.erb +1 -0
  40. data/app/views/spree/admin/shared/_team_nav.html.erb +1 -0
  41. data/app/views/spree/admin/shared/sidebar/_integrations_nav.html.erb +1 -3
  42. data/app/views/spree/admin/shared/sidebar/_products_nav.html.erb +15 -16
  43. data/app/views/spree/admin/shared/sidebar/_promotions_nav.html.erb +4 -14
  44. data/app/views/spree/admin/shared/sidebar/_returns_nav.html.erb +1 -0
  45. data/app/views/spree/admin/shared/sidebar/_store_nav.html.erb +10 -30
  46. data/app/views/spree/admin/shared/sidebar/_storefront_nav.html.erb +18 -20
  47. data/app/views/spree/admin/shared/sidebar/_vendors_nav.html.erb +11 -7
  48. data/app/views/spree/admin/shipping_categories/index.html.erb +3 -0
  49. data/app/views/spree/admin/shipping_methods/index.html.erb +8 -1
  50. data/app/views/spree/admin/stock_items/_filters.html.erb +1 -1
  51. data/app/views/spree/admin/stock_items/index.html.erb +6 -0
  52. data/app/views/spree/admin/stock_locations/index.html.erb +3 -0
  53. data/app/views/spree/admin/stock_transfers/_filters.html.erb +1 -0
  54. data/app/views/spree/admin/stock_transfers/index.html.erb +3 -0
  55. data/app/views/spree/admin/store_credit_categories/index.html.erb +3 -0
  56. data/app/views/spree/admin/store_credits/index.html.erb +3 -0
  57. data/app/views/spree/admin/stores/edit.html.erb +1 -1
  58. data/app/views/spree/admin/tax_categories/index.html.erb +3 -0
  59. data/app/views/spree/admin/tax_rates/index.html.erb +3 -0
  60. data/app/views/spree/admin/taxonomies/index.html.erb +3 -0
  61. data/app/views/spree/admin/themes/index.html.erb +3 -0
  62. data/app/views/spree/admin/users/_filters.html.erb +1 -0
  63. data/app/views/spree/admin/users/index.html.erb +3 -1
  64. data/app/views/spree/admin/webhooks_subscribers/index.html.erb +5 -2
  65. data/app/views/spree/admin/zones/index.html.erb +3 -0
  66. data/lib/spree/admin/engine.rb +111 -37
  67. metadata +8 -11
  68. data/app/views/spree/admin/products/_index_header.html.erb +0 -7
  69. data/app/views/spree/admin/shared/sidebar/_custom_nav.html.erb +0 -0
  70. data/app/views/spree/admin/shipping_methods/_actions.html.erb +0 -5
@@ -1,7 +0,0 @@
1
- <% content_for :page_title do %>
2
- <%= plural_resource_name(Spree::Product) %>
3
- <% end %>
4
-
5
- <% content_for :page_actions do %>
6
- <%= link_to_with_icon 'plus', Spree.t(:new_product), new_object_url, class: 'btn btn-primary' if can?(:create, Spree::Product) %>
7
- <% end %>
@@ -1,5 +0,0 @@
1
- <% content_for :page_actions do %>
2
- <% if can?(:create, Spree::ShippingMethod) %>
3
- <%= link_to_with_icon 'plus', Spree.t(:new_shipping_method), new_object_url, class: "btn btn-primary" %>
4
- <% end %>
5
- <% end %>