mirror of
https://github.com/wekan/wekan.git
synced 2026-01-05 17:18:49 +01:00
Update translations and title of date badges.
This commit is contained in:
parent
5dd554b999
commit
aa5ed6e484
4 changed files with 18 additions and 11 deletions
|
|
@ -148,10 +148,6 @@ const CardDate = BlazeComponent.extendComponent({
|
|||
});
|
||||
},
|
||||
|
||||
showTitle() {
|
||||
return this.date.get().format('LLLL');
|
||||
},
|
||||
|
||||
showISODate() {
|
||||
return this.date.get().toISOString();
|
||||
},
|
||||
|
|
@ -173,6 +169,10 @@ class CardStartDate extends CardDate {
|
|||
}
|
||||
}
|
||||
|
||||
showTitle() {
|
||||
return TAPi18n.__('card-start-on') + ' ' + this.date.get().format('LLLL');
|
||||
}
|
||||
|
||||
events() {
|
||||
return super.events().concat({
|
||||
'click .js-edit-date': Popup.open('editCardStartDate'),
|
||||
|
|
@ -199,6 +199,10 @@ class CardDueDate extends CardDate {
|
|||
return 'almost-due';
|
||||
}
|
||||
|
||||
showTitle() {
|
||||
return TAPi18n.__('card-due-on') + ' ' + this.date.get().format('LLLL');
|
||||
}
|
||||
|
||||
events() {
|
||||
return super.events().concat({
|
||||
'click .js-edit-date': Popup.open('editCardDueDate'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue