summaryrefslogtreecommitdiffstats
path: root/client/components/cards/cardCustomFields.jade
diff options
context:
space:
mode:
authorPouyan Savoli <papoola@hotmail.com>2017-09-05 02:34:18 +0200
committerPouyan Savoli <papoola@hotmail.com>2017-09-22 22:59:32 +0200
commit6ff89b43b61ace7ea26d50f091ea6b714fa79c84 (patch)
tree362c1bc771df9d20ab756cd4d8f26cf9f2d10246 /client/components/cards/cardCustomFields.jade
parent733b14dcd8f4b94047ffd444e7ab7ded49c245c0 (diff)
downloadwekan-6ff89b43b61ace7ea26d50f091ea6b714fa79c84.tar.gz
wekan-6ff89b43b61ace7ea26d50f091ea6b714fa79c84.tar.bz2
wekan-6ff89b43b61ace7ea26d50f091ea6b714fa79c84.zip
show custom fields on cards but still with dummy value
Diffstat (limited to 'client/components/cards/cardCustomFields.jade')
-rw-r--r--client/components/cards/cardCustomFields.jade23
1 files changed, 23 insertions, 0 deletions
diff --git a/client/components/cards/cardCustomFields.jade b/client/components/cards/cardCustomFields.jade
new file mode 100644
index 00000000..3c885b93
--- /dev/null
+++ b/client/components/cards/cardCustomFields.jade
@@ -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}} \ No newline at end of file