diff --git a/client/components/cards/cardTime.js b/client/components/cards/cardTime.js index 233316681..eadcc88e1 100644 --- a/client/components/cards/cardTime.js +++ b/client/components/cards/cardTime.js @@ -55,7 +55,11 @@ BlazeComponent.extendComponent({ self.time = ReactiveVar(); }, showTitle() { - return `${TAPi18n.__('card-spent')} ${this.data().spentTime}`; + if (this.data().isOvertime) { + return `${TAPi18n.__('overtime')} ${this.data().spentTime} ${TAPi18n.__('hours')}`; + } else { + return `${TAPi18n.__('card-spent')} ${this.data().spentTime} ${TAPi18n.__('hours')}`; + } }, showTime() { return this.data().spentTime;