"dashboard" renamed to "machines" to pave the road for the real dash
This commit is contained in:
parent
92ab2e2ab4
commit
3ede3e1629
@ -9,22 +9,10 @@ const appRoutes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
pathMatch: 'full',
|
||||
redirectTo: 'dashboard',
|
||||
redirectTo: 'machines',
|
||||
},
|
||||
{
|
||||
path: 'file-manager',
|
||||
loadChildren: () => import('./file-manager/file-manager.module').then(x => x.FileManagerModule),
|
||||
canActivate: [AuthGuardService],
|
||||
canLoad: [AuthGuardService],
|
||||
data:
|
||||
{
|
||||
title: 'fileManager.title',
|
||||
subTitle: 'fileManager.subTitle',
|
||||
icon: 'folder'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'dashboard',
|
||||
path: 'machines',
|
||||
loadChildren: () => import('./instances/instances.module').then(x => x.InstancesModule),
|
||||
canActivate: [AuthGuardService],
|
||||
canLoad: [AuthGuardService],
|
||||
|
@ -30,7 +30,7 @@ import { AuthInterceptorService } from './helpers/auth-interceptor.service';
|
||||
],
|
||||
imports: [
|
||||
BrowserAnimationsModule,
|
||||
BrowserModule.withServerTransition({ appId: 'manta-portal' }),
|
||||
BrowserModule.withServerTransition({ appId: 'spearhead-portal' }),
|
||||
HttpClientModule,
|
||||
AppRoutingModule,
|
||||
SharedModule,
|
||||
|
@ -3,7 +3,7 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" [routerLink]="['./']" [routerLinkActive]="['active']" [routerLinkActiveOptions]="{ exact: true }">
|
||||
<fa-icon [fixedWidth]="true" icon="home"></fa-icon>
|
||||
{{ 'navbar.menu.dashboard' | translate }}
|
||||
{{ 'navbar.menu.instances' | translate }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
|
@ -4,7 +4,7 @@
|
||||
"menu":
|
||||
{
|
||||
"dashboard": "Dashboard",
|
||||
"fileManager": "File Manager",
|
||||
"instances": "Machines",
|
||||
"volumes": "Volumes",
|
||||
"images": "Images",
|
||||
"networks": "Networks",
|
||||
@ -28,14 +28,14 @@
|
||||
"subTitle": ""
|
||||
}
|
||||
},
|
||||
"fileManager":
|
||||
"dashboard":
|
||||
{
|
||||
"title": "File Manager",
|
||||
"subTitle": "Manage your files"
|
||||
"title": "Dashboard",
|
||||
"subTitle": ""
|
||||
},
|
||||
"instances":
|
||||
{
|
||||
"title": "Dashboard",
|
||||
"title": "Machines",
|
||||
"subTitle": ""
|
||||
},
|
||||
"networks":
|
||||
|
Reference in New Issue
Block a user