mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-16 07:02:22 +02:00
add many multilingual fields
add torrents and forum topbar menu
This commit is contained in:
@@ -5,15 +5,15 @@
|
||||
.module('core.admin')
|
||||
.run(menuConfig);
|
||||
|
||||
menuConfig.$inject = ['menuService'];
|
||||
menuConfig.$inject = ['menuService', '$translate'];
|
||||
|
||||
function menuConfig(menuService) {
|
||||
function menuConfig(menuService, $translate) {
|
||||
menuService.addMenuItem('topbar', {
|
||||
title: 'Admin',
|
||||
title: $translate.instant('MENU_ADMIN'),
|
||||
state: 'admin',
|
||||
type: 'dropdown',
|
||||
roles: ['admin'],
|
||||
position: 11
|
||||
position: 10
|
||||
});
|
||||
}
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user