mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
show custom fields on cards but still with dummy value
This commit is contained in:
parent
733b14dcd8
commit
6ff89b43b6
5 changed files with 89 additions and 30 deletions
|
|
@ -45,9 +45,11 @@ template(name="cardDetails")
|
|||
h3.card-details-item-title {{_ 'card-due'}}
|
||||
+cardDueDate
|
||||
|
||||
each customFields
|
||||
each customFieldsWD
|
||||
.card-details-item.card-details-item-customfield
|
||||
h3.card-details-item-title {{_ 'some-title' }}
|
||||
h3.card-details-item-title
|
||||
= definition.name
|
||||
+cardCustomField
|
||||
|
||||
//- XXX We should use "editable" to avoid repetiting ourselves
|
||||
if canModifyCard
|
||||
|
|
@ -147,20 +149,6 @@ template(name="cardMembersPopup")
|
|||
if isCardMember
|
||||
i.fa.fa-check
|
||||
|
||||
template(name="cardCustomFieldsPopup")
|
||||
ul.pop-over-list
|
||||
each board.customFields
|
||||
li.item(class="")
|
||||
a.name.js-select-field(href="#")
|
||||
span.full-name
|
||||
= name
|
||||
if isCardMember
|
||||
i.fa.fa-check
|
||||
hr
|
||||
a.quiet-button.full.js-configure-custom-fields
|
||||
i.fa.fa-cog
|
||||
span {{_ 'configure-custom-fields'}}
|
||||
|
||||
template(name="cardMorePopup")
|
||||
p.quiet
|
||||
span.clearfix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue