From bfac626fa46a9ecb525ea22bda14b66328e37724 Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Sun, 20 May 2018 11:40:32 +0200 Subject: showOnCard test implementation --- client/components/cards/minicard.jade | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'client/components/cards') diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index 9fa4dd57..04d57f15 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -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 }}") -- cgit v1.2.3-1-g7c22 From f910b66ef27c53767dc123880c3bbec00e8daabd Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Sun, 20 May 2018 11:49:49 +0200 Subject: correcting indent in jade --- client/components/cards/minicard.jade | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index 04d57f15..f89e66d4 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -28,10 +28,10 @@ template(name="minicard") .card-details-items each customFieldsWD if definition.showOnCard - .card-details-item.card-details-item-customfield - h3.card-details-item-title - = definition.name - +cardCustomField + .card-details-item.card-details-item-customfield + h3.card-details-item-title + = definition.name + +cardCustomField .badges if comments.count -- cgit v1.2.3-1-g7c22 From 43fe9ef34ac490ad6c141d2259ecc431dc47a81b Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Sun, 20 May 2018 12:11:58 +0200 Subject: style correction for custom fields on minicard --- client/components/cards/minicard.jade | 9 +++++---- client/components/cards/minicard.styl | 7 +++++++ 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index f89e66d4..fd3fb7b0 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -25,13 +25,14 @@ template(name="minicard") each members +userAvatar(userId=this) - .card-details-items + .minicard-custom-fields each customFieldsWD if definition.showOnCard - .card-details-item.card-details-item-customfield - h3.card-details-item-title + .minicard-custom-field + h3.minicard-custom-field-item = definition.name - +cardCustomField + .minicard-custom-field-item + +cardCustomField .badges if comments.count diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl index d59f1f63..38f829d0 100644 --- a/client/components/cards/minicard.styl +++ b/client/components/cards/minicard.styl @@ -77,6 +77,13 @@ height: @width border-radius: 2px margin-left: 3px + .minicard-custom-fields + display:block; + .minicard-custom-field + display:flex; + .minicard-custom-field-item + max-width:50%; + flex-grow:1; .minicard-title p:last-child margin-bottom: 0 -- cgit v1.2.3-1-g7c22 From d9e291635af2827e8bb30e99780e191e714b397b Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Sun, 20 May 2018 12:17:25 +0200 Subject: customFields bevore mebers on minicard --- client/components/cards/minicard.jade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index fd3fb7b0..bd12a111 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -20,11 +20,6 @@ template(name="minicard") .date +cardSpentTime - if members - .minicard-members.js-minicard-members - each members - +userAvatar(userId=this) - .minicard-custom-fields each customFieldsWD if definition.showOnCard @@ -34,6 +29,11 @@ template(name="minicard") .minicard-custom-field-item +cardCustomField + if members + .minicard-members.js-minicard-members + each members + +userAvatar(userId=this) + .badges if comments.count .badge(title="{{_ 'card-comments-title' comments.count }}") -- cgit v1.2.3-1-g7c22 From 59046d448ffc4c24f94043346d930b67dfd9e138 Mon Sep 17 00:00:00 2001 From: IgnatzHome Date: Sun, 20 May 2018 12:24:07 +0200 Subject: making custom-fields uneditable on minicard --- client/components/cards/minicard.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index bd12a111..aa0708dd 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -24,10 +24,10 @@ template(name="minicard") each customFieldsWD if definition.showOnCard .minicard-custom-field - h3.minicard-custom-field-item + .minicard-custom-field-item = definition.name .minicard-custom-field-item - +cardCustomField + = value if members .minicard-members.js-minicard-members -- cgit v1.2.3-1-g7c22 From be507e567a48c0cefef5a472fc73ce0d2dafa82c Mon Sep 17 00:00:00 2001 From: Daniel Kreuter Date: Fri, 25 May 2018 19:44:49 +0200 Subject: Extend editCardReceivedDatePopup and editCardEndDatePopup from DatePicker to fix #1654 --- client/components/cards/cardDate.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js index f33e8c19..52a48f47 100644 --- a/client/components/cards/cardDate.js +++ b/client/components/cards/cardDate.js @@ -93,7 +93,7 @@ Template.dateBadge.helpers({ }); // editCardReceivedDatePopup -(class extends EditCardDate { +(class extends DatePicker { onCreated() { super.onCreated(); this.data().receivedAt && this.date.set(moment(this.data().receivedAt)); @@ -156,7 +156,7 @@ Template.dateBadge.helpers({ }).register('editCardDueDatePopup'); // editCardEndDatePopup -(class extends EditCardDate { +(class extends DatePicker { onCreated() { super.onCreated(); this.data().endAt && this.date.set(moment(this.data().endAt)); @@ -355,4 +355,3 @@ CardEndDate.register('cardEndDate'); return this.date.get().format('l'); } }).register('minicardEndDate'); - -- cgit v1.2.3-1-g7c22 From 3ce3fa74b350ff1af73b0fffddaeff4b0f126e2c Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Tue, 5 Jun 2018 20:23:29 +0000 Subject: Add additional label colours (from pull by JamesLavin), Add Assigned & Requested By text fields. --- client/components/cards/cardDetails.jade | 50 ++++++++++++++++++++++++++++++-- client/components/cards/cardDetails.js | 42 ++++++++++++++++++++++++++- client/components/cards/cardDetails.styl | 3 +- client/components/cards/labels.styl | 42 +++++++++++++++++++++++++++ 4 files changed, 133 insertions(+), 4 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 55ee8d32..722e51c7 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -108,6 +108,39 @@ template(name="cardDetails") +viewer = description + .card-details-items + .card-details-item.card-details-item-name + h3.card-details-item-title {{_ 'requested-by'}} + if canModifyCard + +inlinedForm(classNames="js-card-details-requester") + +editCardRequesterForm + else + a.js-open-inlined-form + if requestedBy + +viewer + = requestedBy + else + | {{_ 'add'}} + else if requestedBy + +viewer + = requestedBy + + .card-details-item.card-details-item-name + h3.card-details-item-title {{_ 'assigned-by'}} + if canModifyCard + +inlinedForm(classNames="js-card-details-assigner") + +editCardAssignerForm + else + a.js-open-inlined-form + if assignedBy + +viewer + = assignedBy + else + | {{_ 'add'}} + else if requestedBy + +viewer + = assignedBy + hr +checklists(cardId = _id) @@ -141,6 +174,20 @@ template(name="editCardTitleForm") button.primary.confirm.js-submit-edit-card-title-form(type="submit") {{_ 'save'}} a.fa.fa-times-thin.js-close-inlined-form +template(name="editCardRequesterForm") + textarea.js-edit-card-requester(rows='1' autofocus) + = requestedBy + .edit-controls.clearfix + button.primary.confirm.js-submit-edit-card-requestor-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + +template(name="editCardAssignerForm") + textarea.js-edit-card-assigner(rows='1' autofocus) + = assignedBy + .edit-controls.clearfix + button.primary.confirm.js-submit-edit-card-assigner-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + template(name="cardDetailsActionsPopup") ul.pop-over-list li: a.js-toggle-watch-card {{#if isWatching}}{{_ 'unwatch'}}{{else}}{{_ 'watch'}}{{/if}} @@ -150,8 +197,8 @@ template(name="cardDetailsActionsPopup") li: a.js-members {{_ 'card-edit-members'}} li: a.js-labels {{_ 'card-edit-labels'}} li: a.js-attachments {{_ 'card-edit-attachments'}} - li: a.js-received-date {{_ 'editCardReceivedDatePopup-title'}} li: a.js-custom-fields {{_ 'card-edit-custom-fields'}} + li: a.js-received-date {{_ 'editCardReceivedDatePopup-title'}} li: a.js-start-date {{_ 'editCardStartDatePopup-title'}} li: a.js-due-date {{_ 'editCardDueDatePopup-title'}} li: a.js-end-date {{_ 'editCardEndDatePopup-title'}} @@ -178,7 +225,6 @@ template(name="copyCardPopup") = title +boardsAndLists - template(name="copyChecklistToManyCardsPopup") label(for='copy-checklist-cards-title') {{_ 'copyChecklistToManyCardsPopup-instructions'}}: textarea#copy-card-title.minicard-composer-textarea.js-card-title(autofocus) diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 26549fda..8aec8a59 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -146,6 +146,20 @@ BlazeComponent.extendComponent({ this.data().setTitle(title); } }, + 'submit .js-card-details-assigner'(evt) { + evt.preventDefault(); + const assigner = this.currentComponent().getValue().trim(); + if (assigner) { + this.data().setAssignedBy(assigner); + } + }, + 'submit .js-card-details-requester'(evt) { + evt.preventDefault(); + const requester = this.currentComponent().getValue().trim(); + if (requestor) { + this.data().setRequestedBy(requester); + } + }, 'click .js-member': Popup.open('cardMember'), 'click .js-add-members': Popup.open('cardMembers'), 'click .js-add-labels': Popup.open('cardLabels'), @@ -215,8 +229,8 @@ Template.cardDetailsActionsPopup.events({ 'click .js-members': Popup.open('cardMembers'), 'click .js-labels': Popup.open('cardLabels'), 'click .js-attachments': Popup.open('cardAttachments'), - 'click .js-received-date': Popup.open('editCardReceivedDate'), 'click .js-custom-fields': Popup.open('cardCustomFields'), + 'click .js-received-date': Popup.open('editCardReceivedDate'), 'click .js-start-date': Popup.open('editCardStartDate'), 'click .js-due-date': Popup.open('editCardDueDate'), 'click .js-end-date': Popup.open('editCardEndDate'), @@ -263,6 +277,32 @@ Template.editCardTitleForm.events({ }, }); +Template.editCardRequesterForm.onRendered(function() { + autosize(this.$('.js-edit-card-requester')); +}); + +Template.editCardRequesterForm.events({ + 'keydown .js-edit-card-requester'(evt) { + // If enter key was pressed, submit the data + if (evt.keyCode === 13) { + $('.js-submit-edit-card-requester-form').click(); + } + }, +}); + +Template.editCardAssignerForm.onRendered(function() { + autosize(this.$('.js-edit-card-assigner')); +}); + +Template.editCardAssignerForm.events({ + 'keydown .js-edit-card-assigner'(evt) { + // If enter key was pressed, submit the data + if (evt.keyCode === 13) { + $('.js-submit-edit-card-assigner-form').click(); + } + }, +}); + Template.moveCardPopup.events({ 'click .js-done' () { // XXX We should *not* get the currentCard from the global state, but diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index 7dbe8732..db9882df 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -82,7 +82,8 @@ &.card-details-item-start, &.card-details-item-due, &.card-details-item-end, - &.card-details-item-customfield + &.card-details-item-customfield, + &.card-details-item-name, max-width: 50% flex-grow: 1 diff --git a/client/components/cards/labels.styl b/client/components/cards/labels.styl index 361a17ae..084af64c 100644 --- a/client/components/cards/labels.styl +++ b/client/components/cards/labels.styl @@ -73,6 +73,48 @@ .card-label-lime background-color: #51e898 +.card-label-silver + background-color: #c0c0c0 + +.card-label-peachpuff + background-color: #ffdab9 + +.card-label-crimson + background-color: #dc143c + +.card-label-plum + background-color: #dda0dd + +.card-label-darkgreen + background-color: #006400 + +.card-label-slateblue + background-color: #6a5acd + +.card-label-magenta + background-color: #ff00ff + +.card-label-gold + background-color: #ffd700 + +.card-label-navy + background-color: #000080 + +.card-label-gray + background-color: #808080 + +.card-label-saddlebrown + background-color: #8b4513 + +.card-label-paleturquoise + background-color: #afeeee + +.card-label-mistyrose + background-color: #ffe4e1 + +.card-label-indigo + background-color: #4b0082 + .edit-label, .create-label .card-label -- cgit v1.2.3-1-g7c22 From 78b9436f38d55c9c7497e16d9c4ffc320bf26a45 Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Tue, 5 Jun 2018 21:21:14 +0000 Subject: Fix problems highlighted by Codacy/PR Quality Review --- client/components/cards/cardDetails.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 8aec8a59..6cbc4572 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -156,7 +156,7 @@ BlazeComponent.extendComponent({ 'submit .js-card-details-requester'(evt) { evt.preventDefault(); const requester = this.currentComponent().getValue().trim(); - if (requestor) { + if (requester) { this.data().setRequestedBy(requester); } }, -- cgit v1.2.3-1-g7c22 From 87ee0ca646088bc00cead982f054773b324f960d Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Wed, 6 Jun 2018 16:31:18 +0000 Subject: Fix display of card details - cardDetails.styl - remove trailing comma --- client/components/cards/cardDetails.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl index db9882df..11660593 100644 --- a/client/components/cards/cardDetails.styl +++ b/client/components/cards/cardDetails.styl @@ -83,7 +83,7 @@ &.card-details-item-due, &.card-details-item-end, &.card-details-item-customfield, - &.card-details-item-name, + &.card-details-item-name max-width: 50% flex-grow: 1 -- cgit v1.2.3-1-g7c22 From 3c4b09157e3c73e6feeaaa8561443ce785aab8eb Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Wed, 6 Jun 2018 16:44:15 +0000 Subject: Fix AssignedBy & RequestedBy fields & forms --- client/components/cards/cardDetails.jade | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 722e51c7..0915c4bc 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -175,15 +175,13 @@ template(name="editCardTitleForm") a.fa.fa-times-thin.js-close-inlined-form template(name="editCardRequesterForm") - textarea.js-edit-card-requester(rows='1' autofocus) - = requestedBy + input.js-edit-card-requester(type='text' autofocus value=requestedBy ) .edit-controls.clearfix - button.primary.confirm.js-submit-edit-card-requestor-form(type="submit") {{_ 'save'}} + button.primary.confirm.js-submit-edit-card-requester-form(type="submit") {{_ 'save'}} a.fa.fa-times-thin.js-close-inlined-form template(name="editCardAssignerForm") - textarea.js-edit-card-assigner(rows='1' autofocus) - = assignedBy + input.js-edit-card-assigner(type='text' autofocus value=assignedBy) .edit-controls.clearfix button.primary.confirm.js-submit-edit-card-assigner-form(type="submit") {{_ 'save'}} a.fa.fa-times-thin.js-close-inlined-form -- cgit v1.2.3-1-g7c22 From 8f364281d2632809b4650db3ba49939617b6ca09 Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Wed, 6 Jun 2018 20:05:44 +0000 Subject: Remove delete option from board hamburger menu --- client/components/cards/cardDetails.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 0915c4bc..cc1b60dd 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -175,7 +175,7 @@ template(name="editCardTitleForm") a.fa.fa-times-thin.js-close-inlined-form template(name="editCardRequesterForm") - input.js-edit-card-requester(type='text' autofocus value=requestedBy ) + input.js-edit-card-requester(type='text' autofocus value=requestedBy) .edit-controls.clearfix button.primary.confirm.js-submit-edit-card-requester-form(type="submit") {{_ 'save'}} a.fa.fa-times-thin.js-close-inlined-form -- cgit v1.2.3-1-g7c22 From ec4e1b6eff4b68d7a2f813c520fc5489d4894b24 Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Thu, 7 Jun 2018 16:26:20 +0000 Subject: Fix spacing on cardDetails.jade to get 'Add' buttons in tag for RequestedBy & AssignedBy --- client/components/cards/cardDetails.jade | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index cc1b60dd..aa4829a9 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -116,11 +116,11 @@ template(name="cardDetails") +editCardRequesterForm else a.js-open-inlined-form - if requestedBy - +viewer - = requestedBy - else - | {{_ 'add'}} + if requestedBy + +viewer + = requestedBy + else + | {{_ 'add'}} else if requestedBy +viewer = requestedBy @@ -132,11 +132,11 @@ template(name="cardDetails") +editCardAssignerForm else a.js-open-inlined-form - if assignedBy - +viewer - = assignedBy - else - | {{_ 'add'}} + if assignedBy + +viewer + = assignedBy + else + | {{_ 'add'}} else if requestedBy +viewer = assignedBy -- cgit v1.2.3-1-g7c22 From ca51ace22d6f5097a8d0dbf9a62e7248cce1c4a3 Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Fri, 8 Jun 2018 20:42:16 +0000 Subject: Modify mini cards so that received date is shown if there is no start date, and due date is shown if there is no end date. --- client/components/cards/minicard.jade | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'client/components/cards') diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index aa0708dd..b44021a6 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -10,12 +10,22 @@ template(name="minicard") +viewer = title .dates + if receivedAt + unless startAt + unless dueAt + unless endAt + .date + +miniCardReceivedDate if startAt .date +minicardStartDate if dueAt + unless endAt + .date + +minicardDueDate + if endAt .date - +minicardDueDate + +minicardEndDate if spentTime .date +cardSpentTime -- cgit v1.2.3-1-g7c22 From 45cf2843a63e96eefc5174dd55cf540c9b74c3a9 Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Fri, 8 Jun 2018 21:09:52 +0000 Subject: Adjust classes given to due date to take into account end date --- client/components/cards/cardDate.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js index 52a48f47..e95c3a23 100644 --- a/client/components/cards/cardDate.js +++ b/client/components/cards/cardDate.js @@ -279,11 +279,14 @@ class CardDueDate extends CardDate { classes() { let classes = 'due-date' + ' '; - if (this.now.get().diff(this.date.get(), 'days') >= 2) + if ((this.now.get().diff(this.date.get(), 'days') >= 2) && + (this.date.get().isBefore(this.data().endAt))) classes += 'long-overdue'; - else if (this.now.get().diff(this.date.get(), 'minute') >= 0) + else if ((this.now.get().diff(this.date.get(), 'minute') >= 0) && + (this.date.get().isBefore(this.data().endAt))) classes += 'due'; - else if (this.now.get().diff(this.date.get(), 'days') >= -1) + else if ((this.now.get().diff(this.date.get(), 'days') >= -1) && + (this.date.get().isBefore(this.data().endAt))) classes += 'almost-due'; return classes; } -- cgit v1.2.3-1-g7c22 From 199ea3d6f967711b05010682a7c0a3a85aaeef3d Mon Sep 17 00:00:00 2001 From: RJevnikar <12701645+rjevnikar@users.noreply.github.com> Date: Mon, 11 Jun 2018 16:21:35 +0000 Subject: Change label text colour to black for specific label colours for better visibility --- client/components/cards/labels.styl | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'client/components/cards') diff --git a/client/components/cards/labels.styl b/client/components/cards/labels.styl index 084af64c..3b481d93 100644 --- a/client/components/cards/labels.styl +++ b/client/components/cards/labels.styl @@ -3,7 +3,7 @@ // XXX Use .board-widget-labels as a flexbox container .card-label border-radius: 4px - color: white + color: white //Default white text, in select cases, changed to black to improve contrast between label colour and text display: inline-block font-weight: 700 font-size: 13px @@ -48,9 +48,11 @@ .card-label-yellow background-color: #fad900 + color: #000000 //Black text for better visibility .card-label-orange background-color: #ff9f19 + color: #000000 //Black text for better visibility .card-label-red background-color: #eb4646 @@ -63,6 +65,7 @@ .card-label-pink background-color: #ff78cb + color: #000000 //Black text for better visibility .card-label-sky background-color: #00c2e0 @@ -72,18 +75,22 @@ .card-label-lime background-color: #51e898 + color: #000000 //Black text for better visibility .card-label-silver background-color: #c0c0c0 + color: #000000 //Black text for better visibility .card-label-peachpuff background-color: #ffdab9 + color: #000000 //Black text for better visibility .card-label-crimson background-color: #dc143c .card-label-plum background-color: #dda0dd + color: #000000 //Black text for better visibility .card-label-darkgreen background-color: #006400 @@ -96,6 +103,7 @@ .card-label-gold background-color: #ffd700 + color: #000000 //Black text for better visibility .card-label-navy background-color: #000080 @@ -108,9 +116,11 @@ .card-label-paleturquoise background-color: #afeeee + color: #000000 //Black text for better visibility .card-label-mistyrose background-color: #ffe4e1 + color: #000000 //Black text for better visibility .card-label-indigo background-color: #4b0082 -- cgit v1.2.3-1-g7c22 From 259614b647c72773675541d3de8d0ff73006c299 Mon Sep 17 00:00:00 2001 From: Ignatz Date: Thu, 14 Jun 2018 11:58:37 +0200 Subject: trying to fix display Issue with dropdown custom fields --- client/components/cards/minicard.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/cards') diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index b44021a6..e63a185b 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -37,7 +37,7 @@ template(name="minicard") .minicard-custom-field-item = definition.name .minicard-custom-field-item - = value + = trueValue if members .minicard-members.js-minicard-members -- cgit v1.2.3-1-g7c22 From fcf262cc9807c1e87e638ce6b0c6151ae2114f60 Mon Sep 17 00:00:00 2001 From: Ignatz Date: Thu, 14 Jun 2018 15:08:30 +0200 Subject: testing markdown support for custom fields --- client/components/cards/minicard.jade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/components/cards') diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index e63a185b..c912ea70 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -37,7 +37,8 @@ template(name="minicard") .minicard-custom-field-item = definition.name .minicard-custom-field-item - = trueValue + +viewer + = trueValue if members .minicard-members.js-minicard-members -- cgit v1.2.3-1-g7c22