mirror of
https://github.com/wekan/wekan.git
synced 2026-03-09 15:12:34 +01:00
add the 'currency' custom field type
This commit is contained in:
parent
351d9d0c95
commit
3cf6ed916f
5 changed files with 56 additions and 2 deletions
|
|
@ -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'}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue