Vulcan/client/views/posts/modules/post_info.js

8 lines
226 B
JavaScript
Raw Normal View History

2014-09-12 18:53:49 +09:00
Template[getTemplate('postInfo')].helpers({
pointsUnitDisplayText: function(){
return this.upvotes == 1 ? i18n.t('point') : i18n.t('points');
},
getTemplate: function() {
return getTemplate("postAuthor");
2014-09-16 15:46:48 -04:00
}
});