1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00

reorganize spaces menu entries

This commit is contained in:
Sylvain 2017-03-01 15:51:13 +01:00
parent 13689fd707
commit 7ba50a72b7

View File

@ -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'