diff options
-rw-r--r-- | i18n/en.i18n.json | 1 | ||||
-rw-r--r-- | models/activities.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json index 1adee4fc..44304305 100644 --- a/i18n/en.i18n.json +++ b/i18n/en.i18n.json @@ -731,6 +731,7 @@ "almostdue": "current due time %s is approaching", "pastdue": "current due time %s is past", "duenow": "current due time %s is today", + "act-newDue": "__card__ has 1st due reminder [__board__]", "act-withDue": "__card__ due reminders [__board__]", "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", diff --git a/models/activities.js b/models/activities.js index a9c9768f..cb1dddaf 100644 --- a/models/activities.js +++ b/models/activities.js @@ -242,8 +242,8 @@ if (Meteor.isServer) { (!activity.timeKey || activity.timeKey === 'dueAt') && activity.timeValue ) { - // due time reminder - title = 'act-withDue'; + // due time reminder, if it doesn't have old value, it's a brand new set, need some differentiation + title = activity.timeOldValue ? 'act-withDue' : 'act-newDue'; } ['timeValue', 'timeOldValue'].forEach(key => { // copy time related keys & values to params |