|
@@ -28,6 +28,11 @@ BlazeComponent.extendComponent({
|
|
return card.findWatcher(Meteor.userId());
|
|
return card.findWatcher(Meteor.userId());
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ hiddenSystemMessages() {
|
|
|
|
+ console.log('doo:', Meteor.user().hasHiddenSystemMessages());
|
|
|
|
+ return Meteor.user().hasHiddenSystemMessages();
|
|
|
|
+ },
|
|
|
|
+
|
|
canModifyCard() {
|
|
canModifyCard() {
|
|
return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly();
|
|
return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly();
|
|
},
|
|
},
|
|
@@ -99,6 +104,9 @@ BlazeComponent.extendComponent({
|
|
this.parentComponent().showOverlay.set(true);
|
|
this.parentComponent().showOverlay.set(true);
|
|
this.parentComponent().mouseHasEnterCardDetails = true;
|
|
this.parentComponent().mouseHasEnterCardDetails = true;
|
|
},
|
|
},
|
|
|
|
+ 'click #toggleButton'() {
|
|
|
|
+ $('div.activity.js-card-activity:not(:has(.activity-comment))').toggle();
|
|
|
|
+ },
|
|
}];
|
|
}];
|
|
},
|
|
},
|
|
}).register('cardDetails');
|
|
}).register('cardDetails');
|