mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Attachments, show file size in KB in card details
This commit is contained in:
parent
7e21589ee1
commit
f3d5b887c8
2 changed files with 4 additions and 0 deletions
|
|
@ -49,6 +49,9 @@ Template.attachmentsGalery.helpers({
|
|||
isBoardAdmin() {
|
||||
return Meteor.user().isBoardAdmin();
|
||||
},
|
||||
fileSize(size) {
|
||||
return Math.round(size / 1024);
|
||||
},
|
||||
});
|
||||
|
||||
Template.previewAttachedImagePopup.events({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue