From 3cf6ed916f4fd4c8e6e826ed4af1c2dd4c965110 Mon Sep 17 00:00:00 2001 From: Haben Amare Date: Mon, 25 May 2020 14:59:32 +0000 Subject: add the 'currency' custom field type --- client/components/sidebar/sidebarCustomFields.jade | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'client/components/sidebar/sidebarCustomFields.jade') diff --git a/client/components/sidebar/sidebarCustomFields.jade b/client/components/sidebar/sidebarCustomFields.jade index 4d023f45..4cff73f4 100644 --- a/client/components/sidebar/sidebarCustomFields.jade +++ b/client/components/sidebar/sidebarCustomFields.jade @@ -33,6 +33,17 @@ template(name="createCustomFieldPopup") option(value=value selected="selected") {{name}} else option(value=value) {{name}} + + div.js-field-settings.js-field-settings-currency(class="{{#if isTypeNotSelected 'currency'}}hide{{/if}}") + label + | {{_ 'custom-field-currency-option'}} + select.js-field-currency + each getCurrencySymbols + if selected + option(value=value selected="selected") {{name}} + else + option(value=value) {{name}} + div.js-field-settings.js-field-settings-dropdown(class="{{#if isTypeNotSelected 'dropdown'}}hide{{/if}}") label | {{_ 'custom-field-dropdown-options'}} -- cgit v1.2.3-1-g7c22