mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-15 23:57:48 +00:00
Delete old commented code
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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();
|
||||
// }
|
||||
// });
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
-##copyright.text-center
|
||||
-#%img.copyright{src: "/assets/logo.png", alt: "Open Food Network"}
|
||||
-#© Copyright 2013 Open Food Foundation
|
||||
@@ -0,0 +1 @@
|
||||
-# This file intentionally overrides the view in the spree_paypal_express gem
|
||||
|
||||
Reference in New Issue
Block a user