Revize 78eacb99
Přidáno uživatelem Václav Jirák před téměř 6 roky(ů)
webapp/src/app/services/util/menu.service.ts | ||
---|---|---|
37 | 37 |
|
38 | 38 |
private createAppropriateMenuForUser(profile: UserProfile): MenuItem[] { |
39 | 39 |
const menuItems: MenuItem[] = []; |
40 |
menuItems.push({name: 'Dashboard', routePath: 'dashboard'});
|
|
40 |
menuItems.push({name: 'menuItem.dashboard', routePath: 'dashboard'});
|
|
41 | 41 |
if (profile.role === UserType.EMPLOYER) { |
42 |
menuItems.push({name: 'Zaměstnanci', routePath: 'employees'});
|
|
42 |
menuItems.push({name: 'menuItem.employers', routePath: 'employees'});
|
|
43 | 43 |
} |
44 | 44 |
|
45 | 45 |
return menuItems; |
Také k dispozici: Unified diff
Frontend localization completed