mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
parent
c894567987
commit
e001c3409a
6 changed files with 102 additions and 218 deletions
|
|
@ -49,6 +49,10 @@ BlazeComponent.extendComponent({
|
|||
return TAPi18n.__('this-board');
|
||||
},
|
||||
|
||||
cardLabel: function() {
|
||||
return TAPi18n.__('this-card');
|
||||
},
|
||||
|
||||
cardLink: function() {
|
||||
var card = this.currentData().card();
|
||||
return Blaze.toHTML(HTML.A({
|
||||
|
|
@ -69,16 +73,6 @@ BlazeComponent.extendComponent({
|
|||
href: attachment.url(),
|
||||
'class': 'js-open-attachment-viewer'
|
||||
}, attachment.name()));
|
||||
}
|
||||
}).register('activities');
|
||||
|
||||
BlazeComponent.extendComponent({
|
||||
template: function() {
|
||||
return 'cardActivities';
|
||||
},
|
||||
|
||||
cardLabel: function() {
|
||||
return TAPi18n.__('this-card');
|
||||
},
|
||||
|
||||
events: function() {
|
||||
|
|
@ -102,4 +96,4 @@ BlazeComponent.extendComponent({
|
|||
}
|
||||
}];
|
||||
}
|
||||
}).register('cardActivities');
|
||||
}).register('activities');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue