Vulcan/client/views/posts/modules/post_info.js
2015-04-13 14:52:03 +09:00

8 lines
No EOL
210 B
JavaScript

Template.postInfo.helpers({
pointsUnitDisplayText: function(){
return this.upvotes == 1 ? i18n.t('point') : i18n.t('points');
},
getTemplate: function() {
return getTemplate("postAuthor");
}
});