Delete old commented code

This commit is contained in:
Maikel Linke
2016-10-19 15:49:27 +11:00
parent 4c438ff101
commit 338d3cbc38
4 changed files with 1 additions and 17 deletions

View File

@@ -14,9 +14,6 @@
.exchange-product{'ng-repeat' => 'product in supplied_products | filter:productSuppliedToOrderCycle | visibleProducts:exchange:order_cycle.visible_variants_for_outgoing_exchanges | orderBy:"name"' }
.exchange-product-details
%label
-# MASTER_VARIANTS: No longer required
-# = check_box_tag 'order_cycle_outgoing_exchange_{{ $parent.$index }}_variants_{{ product.master_id }}', 1, 1, 'ng-hide' => 'product.variants.length > 0', 'ng-model' => 'exchange.variants[product.master_id]', 'id' => 'order_cycle_outgoing_exchange_{{ $parent.$index }}_variants_{{ product.master_id }}',
-# 'ng-disabled' => 'product.variants.length > 0 || !order_cycle.editable_variants_for_outgoing_exchanges.hasOwnProperty(exchange.enterprise_id) || order_cycle.editable_variants_for_outgoing_exchanges[exchange.enterprise_id].indexOf(product.master_id) < 0'
%img{'ng-src' => '{{ product.image_url }}'}
.name {{ product.name }}
.supplier {{ product.supplier_name }}

View File

@@ -1,12 +1 @@
= render 'admin/producer_properties/form', f: f
// :javascript
// var properties = #{raw(@properties.to_json)};
//
// $("#producer_properties input.autocomplete").live("keydown", function() {
// already_auto_completed = $(this).is('ac_input');
// if (!already_auto_completed) {
// $(this).autocomplete({source: properties});
// $(this).focus();
// }
// });

View File

@@ -1,3 +0,0 @@
-##copyright.text-center
-#%img.copyright{src: "/assets/logo.png", alt: "Open Food Network"}
-#&copy; Copyright 2013 Open Food Foundation

View File

@@ -0,0 +1 @@
-# This file intentionally overrides the view in the spree_paypal_express gem