mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Indicate board or card through icons. Indicate if archived
This commit is contained in:
parent
10aab8a733
commit
f0597ef0c4
6 changed files with 40 additions and 4 deletions
|
|
@ -6,4 +6,15 @@ BlazeComponent.extendComponent({
|
|||
template() {
|
||||
return 'minicard';
|
||||
},
|
||||
|
||||
events() {
|
||||
return [{
|
||||
'click .js-imported-link' (evt) {
|
||||
if (this.data().isImportedCard())
|
||||
Utils.goCardId(this.data().importedId);
|
||||
else if (this.data().isImportedBoard())
|
||||
Utils.goBoardId(this.data().importedId);
|
||||
},
|
||||
}];
|
||||
},
|
||||
}).register('minicard');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue