mirror of
https://github.com/wekan/wekan.git
synced 2026-03-02 20:00:16 +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
23
client/components/cards/cardCustomFields.jade
Normal file
23
client/components/cards/cardCustomFields.jade
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
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="cardCustomFieldText")
|
||||
if canModifyCard
|
||||
.item-title.js-open-inlined-form.is-editable
|
||||
if value
|
||||
= value
|
||||
else
|
||||
| {{_ 'edit'}}
|
||||
else
|
||||
.item-title {{value}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue