From e52f7165c3e58dec03975c2a8a1f9d2f5205c230 Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Sat, 26 Sep 2015 10:14:46 +1000 Subject: [PATCH] Overriding any last references to options_text in the spree codebase --- .../orders/_line_item/replace_variant_label.html.haml.deface | 3 +++ .../admin/variants/index/replace_options_text.html.haml.deface | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 app/overrides/spree/admin/orders/_line_item/replace_variant_label.html.haml.deface create mode 100644 app/overrides/spree/admin/variants/index/replace_options_text.html.haml.deface diff --git a/app/overrides/spree/admin/orders/_line_item/replace_variant_label.html.haml.deface b/app/overrides/spree/admin/orders/_line_item/replace_variant_label.html.haml.deface new file mode 100644 index 0000000000..6481791112 --- /dev/null +++ b/app/overrides/spree/admin/orders/_line_item/replace_variant_label.html.haml.deface @@ -0,0 +1,3 @@ +/ replace 'code[erb-loud]:contains(\'"(#{f.object.variant.options_text})"\')' + += "(#{f.object.full_name})" diff --git a/app/overrides/spree/admin/variants/index/replace_options_text.html.haml.deface b/app/overrides/spree/admin/variants/index/replace_options_text.html.haml.deface new file mode 100644 index 0000000000..5b76f19fa6 --- /dev/null +++ b/app/overrides/spree/admin/variants/index/replace_options_text.html.haml.deface @@ -0,0 +1,3 @@ +/ replace "code[erb-loud]:contains('variant.options_text')" + += variant.full_name