mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
11 lines
No EOL
296 B
JavaScript
11 lines
No EOL
296 B
JavaScript
Template[getTemplate('postInfo')].helpers({
|
|
pointsUnitDisplayText: function(){
|
|
return this.upvotes == 1 ? i18n.t('point') : i18n.t('points');
|
|
},
|
|
can_edit: function(){
|
|
return canEdit(Meteor.user(), this);
|
|
},
|
|
getTemplate: function() {
|
|
return getTemplate("postAuthor");
|
|
}
|
|
}); |