2012-03-13 22:59:23 +00:00
|
|
|
class SysmocomDhlHooks < Spree::ThemeSupport::HookListener
|
|
|
|
# custom hooks go here
|
2012-03-17 12:27:06 +00:00
|
|
|
insert_after :admin_tabs do
|
|
|
|
"<%= tab(:dhls) %>"
|
|
|
|
end
|
2012-03-17 13:43:08 +00:00
|
|
|
|
|
|
|
# Add the DHL label download
|
|
|
|
insert_after :admin_shipment_edit_buttons, 'admin/dhls/address_label'
|
2012-03-17 12:27:06 +00:00
|
|
|
end
|