mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Card Details, add plus button in custom fields section
This commit is contained in:
parent
6b26b5d62b
commit
5e29c68154
3 changed files with 5 additions and 0 deletions
|
@ -257,6 +257,7 @@ template(name="cardDetails")
|
|||
else
|
||||
input.toggle-switch(type="checkbox" id="toggleCustomFieldsGridButton")
|
||||
label.toggle-label(for="toggleCustomFieldsGridButton")
|
||||
a.fa.fa-plus.js-custom-fields.card-details-item.custom-fields(title="{{_ 'custom-fields'}}")
|
||||
|
||||
if getVoteQuestion
|
||||
hr
|
||||
|
|
|
@ -411,6 +411,7 @@ BlazeComponent.extendComponent({
|
|||
'click .js-end-date': Popup.open('editCardEndDate'),
|
||||
'click .js-show-positive-votes': Popup.open('positiveVoteMembers'),
|
||||
'click .js-show-negative-votes': Popup.open('negativeVoteMembers'),
|
||||
'click .js-custom-fields': Popup.open('cardCustomFields'),
|
||||
'mouseenter .js-card-details'() {
|
||||
if (this.parentComponent() === null) return;
|
||||
const parentComponent = this.parentComponent().parentComponent();
|
||||
|
|
|
@ -230,6 +230,9 @@ avatar-radius = 50%
|
|||
word-wrap: break-word
|
||||
max-width: 28%
|
||||
flex-grow: 1
|
||||
&.custom-fields
|
||||
padding-left: 10px
|
||||
|
||||
|
||||
.card-details-item-title
|
||||
font-size: 16px
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue