mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00

Switched everything over to use can.* functions from telescope-lib instead of using can* functions from lib/permissions.js, deleted lib/permissions.js, added some tests for permissions, and some other random cleanup like deleting unused code. Conflicts: client/views/comments/comment_form.js
8 lines
No EOL
226 B
JavaScript
8 lines
No EOL
226 B
JavaScript
Template[getTemplate('postInfo')].helpers({
|
|
pointsUnitDisplayText: function(){
|
|
return this.upvotes == 1 ? i18n.t('point') : i18n.t('points');
|
|
},
|
|
getTemplate: function() {
|
|
return getTemplate("postAuthor");
|
|
}
|
|
}); |