Navigation Menu

Skip to content

Commit

Permalink
wip:
Browse files Browse the repository at this point in the history
  • Loading branch information
Senjai committed Apr 27, 2016
1 parent 6a17080 commit defd0a5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/overrides/layouts_admin_print_buttons_decorator.rb
@@ -1,5 +1,14 @@
# Versions of solidus >= 1.4
Deface::Override.new(:virtual_path => "spree/admin/shared/_header",
:name => "print_buttons",
:insert_top => ".page-actions",
:partial => "spree/admin/orders/print_buttons",
:disabled => false)

# Versions of solidus < 1.4
# content_header was renamed in later versions and was restructured
Deface::Override.new(:virtual_path => "spree/admin/shared/_content_header",
:name => "print_buttons",
:insert_top => "[data-hook='toolbar']>ul",
:partial => "spree/admin/orders/print_buttons",
:disabled => false)

0 comments on commit defd0a5

Please sign in to comment.