showOnCard test implementation

This commit is contained in:
IgnatzHome 2018-05-20 11:40:32 +02:00
parent ecbb8ef071
commit bfac626fa4

View file

@ -24,6 +24,15 @@ template(name="minicard")
.minicard-members.js-minicard-members
each members
+userAvatar(userId=this)
.card-details-items
each customFieldsWD
if definition.showOnCard
.card-details-item.card-details-item-customfield
h3.card-details-item-title
= definition.name
+cardCustomField
.badges
if comments.count
.badge(title="{{_ 'card-comments-title' comments.count }}")