|
|
@ -3,9 +3,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(function(module) {
|
|
|
|
(function(module) {
|
|
|
|
var helpers = {},
|
|
|
|
var helpers = {};
|
|
|
|
templates = templates || require('./templates');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
helpers.displayUsersLink = function(config) {
|
|
|
|
helpers.displayUsersLink = function(config) {
|
|
|
|
return (config.isLoggedIn && !config.privateUserInfo);
|
|
|
|
return (config.isLoggedIn && !config.privateUserInfo);
|
|
|
@ -20,6 +18,8 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = function() {
|
|
|
|
module.exports = function() {
|
|
|
|
|
|
|
|
var templates = templates || require('./templates');
|
|
|
|
|
|
|
|
|
|
|
|
templates.registerHelper('displayUsersLink', helpers.displayUsersLink);
|
|
|
|
templates.registerHelper('displayUsersLink', helpers.displayUsersLink);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|