mirror of
https://github.com/wekan/wekan.git
synced 2026-01-15 14:08:51 +01:00
20 lines
644 B
JavaScript
20 lines
644 B
JavaScript
Template.settingHeaderBar.helpers({
|
|
isSettingsActive() {
|
|
return FlowRouter.getRouteName() === 'setting' ? 'active' : '';
|
|
},
|
|
isPeopleActive() {
|
|
return FlowRouter.getRouteName() === 'people' ? 'active' : '';
|
|
},
|
|
isAdminReportsActive() {
|
|
return FlowRouter.getRouteName() === 'admin-reports' ? 'active' : '';
|
|
},
|
|
isAttachmentsActive() {
|
|
return FlowRouter.getRouteName() === 'attachments' ? 'active' : '';
|
|
},
|
|
isTranslationActive() {
|
|
return FlowRouter.getRouteName() === 'translation' ? 'active' : '';
|
|
},
|
|
isInformationActive() {
|
|
return FlowRouter.getRouteName() === 'information' ? 'active' : '';
|
|
},
|
|
});
|