Sha256: 7ae3c66af97bddaaea778104404eeaa12de60abb5e09e55fdc19e973b6550882

Contents?: true

Size: 796 Bytes

Versions: 3

Compression:

Stored size: 796 Bytes

Contents

# TODO Axe in favor of content_for
# Versions of solidus >= 1.2
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.2
# content_header was renamed in later versions and was restructured
# into _header. So only one of these will ever get applied.
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)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_print_invoice-1.0.2 app/overrides/layouts_admin_print_buttons_decorator.rb
solidus_print_invoice-1.0.1 app/overrides/layouts_admin_print_buttons_decorator.rb
solidus_print_invoice-1.0.0 app/overrides/layouts_admin_print_buttons_decorator.rb