diff options
author | Ryan Helsing <ryanhelsing@gmail.com> | 2017-03-18 18:49:39 -0400 |
---|---|---|
committer | Ryan Helsing <ryanhelsing@gmail.com> | 2017-03-18 18:49:39 -0400 |
commit | de10be6a21679ad6ea3a6d97506f84d32cc72d26 (patch) | |
tree | 1c34b9656a7df29857ca079cdd105585d9f61538 /client/components/cards/cardDate.js | |
parent | ec9498fa627228bd411af6070645fa2ed7cd895d (diff) | |
download | wekan-de10be6a21679ad6ea3a6d97506f84d32cc72d26.tar.gz wekan-de10be6a21679ad6ea3a6d97506f84d32cc72d26.tar.bz2 wekan-de10be6a21679ad6ea3a6d97506f84d32cc72d26.zip |
comment only working, naive implementation complete
Diffstat (limited to 'client/components/cards/cardDate.js')
-rw-r--r-- | client/components/cards/cardDate.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js index 4d129e8e..3f69f384 100644 --- a/client/components/cards/cardDate.js +++ b/client/components/cards/cardDate.js @@ -86,6 +86,12 @@ const EditCardDate = BlazeComponent.extendComponent({ }, }); +Template.dateBadge.helpers({ + canModifyCard() { + return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly(); + }, +}); + // editCardStartDatePopup (class extends EditCardDate { onCreated() { |