mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
At opened card, toggle to show checklist at minicard. Part 3.
Thanks to xet7 !
This commit is contained in:
parent
1f216f5bff
commit
80312d3052
3 changed files with 10 additions and 0 deletions
|
@ -40,6 +40,8 @@ textarea.js-edit-checklist-item {
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
|
||||
.checklist-progress-bar-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
@ -4,6 +4,9 @@
|
|||
.minicard .checklist-details-menu {
|
||||
display: none;
|
||||
}
|
||||
.minicard .checklist-progress-bar-container {
|
||||
width: 190px; /* TODO: Add adjustable width https://github.com/wekan/wekan/pull/4964 */
|
||||
}
|
||||
.minicard-wrapper {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
|
|
|
@ -92,6 +92,11 @@ BlazeComponent.extendComponent({
|
|||
events() {
|
||||
return [
|
||||
{
|
||||
'click .minicard-checklists'() {
|
||||
// Prevents clicking checklist at minicard from opening card details,
|
||||
// while still allowing checking checlist items.
|
||||
event.preventDefault();
|
||||
},
|
||||
'click .js-linked-link'() {
|
||||
if (this.data().isLinkedCard()) Utils.goCardId(this.data().linkedId);
|
||||
else if (this.data().isLinkedBoard())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue