mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
14 lines
315 B
JavaScript
14 lines
315 B
JavaScript
![]() |
Template.notification_item.helpers({
|
||
|
nice_time: function(){
|
||
|
return moment(this.timestamp).fromNow();
|
||
|
},
|
||
|
properties: function(){
|
||
|
return this.properties;
|
||
|
},
|
||
|
isNewRootComment: function(){
|
||
|
return this.event=="newRootComment";
|
||
|
},
|
||
|
isNewChildComment: function(){
|
||
|
return this.event=="newChildComment";
|
||
|
}
|
||
|
});
|