mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-03 14:24:23 +01:00
reorganize spaces menu entries
This commit is contained in:
parent
13689fd707
commit
7ba50a72b7
@ -49,7 +49,7 @@ Application.Controllers.controller "MainNavController", ["$scope", "$location",
|
|||||||
})
|
})
|
||||||
|
|
||||||
unless Fablab.withoutSpaces
|
unless Fablab.withoutSpaces
|
||||||
$scope.navLinks.splice(5, 0, {
|
$scope.navLinks.splice(3, 0, {
|
||||||
state: 'app.public.spaces_list'
|
state: 'app.public.spaces_list'
|
||||||
linkText: 'reserve_a_space'
|
linkText: 'reserve_a_space'
|
||||||
linkIcon: 'rocket'
|
linkIcon: 'rocket'
|
||||||
@ -118,7 +118,7 @@ Application.Controllers.controller "MainNavController", ["$scope", "$location",
|
|||||||
$scope.adminNavLinks = adminNavLinks
|
$scope.adminNavLinks = adminNavLinks
|
||||||
|
|
||||||
unless Fablab.withoutSpaces
|
unless Fablab.withoutSpaces
|
||||||
$scope.adminNavLinks.splice(8, 0, {
|
$scope.adminNavLinks.splice(7, 0, {
|
||||||
state: 'app.public.spaces_list'
|
state: 'app.public.spaces_list'
|
||||||
linkText: 'manage_the_spaces'
|
linkText: 'manage_the_spaces'
|
||||||
linkIcon: 'rocket'
|
linkIcon: 'rocket'
|
||||||
|
Loading…
Reference in New Issue
Block a user