mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-02 21:57:17 +00:00
Remove dynamic monthly pricing description that would come from the deleted business model configurations
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
angular.module("admin.enterprises").directive "monthlyPricingDescription", (monthlyBillDescription) ->
|
||||
restrict: 'E'
|
||||
scope:
|
||||
joiner: "@"
|
||||
template: "<span ng-bind-html='billDescription'></span>"
|
||||
link: (scope, element, attrs) ->
|
||||
joiners = { comma: ", ", newline: "<br>" }
|
||||
scope.billDescription = monthlyBillDescription.replace("{joiner}", joiners[scope.joiner])
|
||||
@@ -19,10 +19,6 @@
|
||||
%h3
|
||||
{{ 'js.admin.panels.enterprise_package.hub_shop' | t }}
|
||||
|
||||
%p
|
||||
%strong
|
||||
%monthly-pricing-description{ joiner: "comma" }
|
||||
|
||||
%p
|
||||
{{ 'js.admin.panels.enterprise_package.hub_shop_text1' | t }}
|
||||
|
||||
@@ -66,10 +62,6 @@
|
||||
%h3
|
||||
{{ 'js.admin.panels.enterprise_package.producer_shop' | t }}
|
||||
|
||||
%p
|
||||
%strong
|
||||
%monthly-pricing-description{ joiner: "comma" }
|
||||
|
||||
%p
|
||||
{{ 'js.admin.panels.enterprise_package.producer_shop_text1' | t }}
|
||||
|
||||
@@ -80,10 +72,6 @@
|
||||
%h3
|
||||
{{ 'js.admin.panels.enterprise_package.producer_hub' | t }}
|
||||
|
||||
%p
|
||||
%strong
|
||||
%monthly-pricing-description{ joiner: "comma" }
|
||||
|
||||
%p
|
||||
{{ 'js.admin.panels.enterprise_package.producer_hub_text1' | t }}
|
||||
|
||||
@@ -121,8 +109,6 @@
|
||||
{{ 'js.admin.panels.enterprise_package.hub_shop' | t }}
|
||||
%p
|
||||
{{ 'js.admin.panels.enterprise_package.sell_produce_others' | t }}
|
||||
.bottom
|
||||
%monthly-pricing-description{ joiner: "newline" }
|
||||
|
||||
%div{ ng: { switch: { when: "true" } } }
|
||||
%a.button.selector.producer-profile{ ng: { click: "enterprise.owned && (enterprise.sells='none')", class: "{selected: enterprise.sells=='none', disabled: !enterprise.owned}" } }
|
||||
@@ -139,8 +125,6 @@
|
||||
{{ 'js.admin.panels.enterprise_package.producer_shop' | t }}
|
||||
%p
|
||||
{{ 'js.admin.panels.enterprise_package.sell_own_produce' | t }}
|
||||
.bottom
|
||||
%monthly-pricing-description{ joiner: "newline" }
|
||||
|
||||
%a.button.selector.producer-hub{ ng: { click: "enterprise.owned && (enterprise.sells='any')", class: "{selected: enterprise.sells=='any', disabled: !enterprise.owned}" } }
|
||||
.top
|
||||
@@ -148,8 +132,6 @@
|
||||
{{ 'js.admin.panels.enterprise_package.producer_hub' | t }}
|
||||
%p
|
||||
{{ 'js.admin.panels.enterprise_package.sell_both' | t }}
|
||||
.bottom
|
||||
%monthly-pricing-description{ joiner: "newline" }
|
||||
|
||||
%a.button.update.fullwidth{ ng: { show: "enterprise.owned", class: "{disabled: saved() && !saving, saving: saving}", click: "save()" } }
|
||||
%span{ ng: {hide: "saved() || saving" } }
|
||||
|
||||
@@ -22,9 +22,6 @@
|
||||
.top
|
||||
%h3= t('.producer_shop')
|
||||
%p= t('.sell_your_produce')
|
||||
.bottom
|
||||
%monthly-pricing-description{ joiner: "newline" }
|
||||
|
||||
%p.description
|
||||
= t('.producer_shop_description_text')
|
||||
%br
|
||||
@@ -36,9 +33,6 @@
|
||||
.top
|
||||
%h3= t('.producer_hub')
|
||||
%p= t('.producer_hub_text')
|
||||
.bottom
|
||||
%monthly-pricing-description{ joiner: "newline" }
|
||||
|
||||
%p.description
|
||||
= t('.producer_hub_description_text')
|
||||
|
||||
@@ -59,8 +53,6 @@
|
||||
.top
|
||||
%h3= t('.hub_shop')
|
||||
%p= t('.hub_shop_text')
|
||||
.bottom
|
||||
%monthly-pricing-description{ joiner: "newline" }
|
||||
%p.description
|
||||
= t('.hub_shop_description_text')
|
||||
.two.columns.omega
|
||||
|
||||
Reference in New Issue
Block a user