mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Sum of cards. In Progress. Part 2: Show option for custom field sum only for currency and number fields.
Thanks to xet7 ! Related #3796
This commit is contained in:
parent
533af4b39e
commit
9bee6ae666
1 changed files with 8 additions and 6 deletions
|
@ -43,6 +43,14 @@ template(name="createCustomFieldPopup")
|
|||
option(value=value selected="selected") {{name}}
|
||||
else
|
||||
option(value=value) {{name}}
|
||||
a.flex.js-field-show-sum-at-top-of-list(class="{{#if showSumAtTopOfList}}is-checked{{/if}}")
|
||||
.materialCheckBox(class="{{#if showSumAtTopOfList}}is-checked{{/if}}")
|
||||
span {{_ 'showSum-field-on-list'}}
|
||||
|
||||
div.js-field-settings.js-field-settings-currency(class="{{#if isTypeNotSelected 'number'}}hide{{/if}}")
|
||||
a.flex.js-field-show-sum-at-top-of-list(class="{{#if showSumAtTopOfList}}is-checked{{/if}}")
|
||||
.materialCheckBox(class="{{#if showSumAtTopOfList}}is-checked{{/if}}")
|
||||
span {{_ 'showSum-field-on-list'}}
|
||||
|
||||
div.js-field-settings.js-field-settings-dropdown(class="{{#if isTypeNotSelected 'dropdown'}}hide{{/if}}")
|
||||
label
|
||||
|
@ -77,12 +85,6 @@ template(name="createCustomFieldPopup")
|
|||
|
||||
span {{_ 'showLabel-field-on-card'}}
|
||||
|
||||
|
||||
a.flex.js-field-show-sum-at-top-of-list(class="{{#if showSumAtTopOfList}}is-checked{{/if}}")
|
||||
.materialCheckBox(class="{{#if showSumAtTopOfList}}is-checked{{/if}}")
|
||||
|
||||
span {{_ 'showSum-field-on-list'}}
|
||||
|
||||
button.primary.wide.left(type="button")
|
||||
| {{_ 'save'}}
|
||||
if _id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue