Vulcan/client/views/nav/user_menu.js

12 lines
345 B
JavaScript
Raw Normal View History

Template[getTemplate('userMenu')].helpers({
userMenuData: function () {
return {
2015-03-23 10:32:56 +09:00
dropdownName: 'user',
dropdownLabel: getDisplayName(Meteor.user()),
2015-03-23 10:32:56 +09:00
dropdownItems: userMenu,
2015-03-23 11:28:36 +09:00
dropdownClass: 'header-submodule',
dropdownMode: getSetting('navLayout', 'top-nav') == 'top-nav' ? 'hover' : 'accordion'
}
}
});