Project

General

Profile

« Previous | Next » 

Revision 60171

[Monitor dashboard | Trunk]
Admin tools:
- move amdin tool components underadmin-tool folder
- create admin tool routing module
- remove guard from each module and put it in admin tool routing module

Piwik:
- add piwik from configuration service and pass it in search, landing, monitor

App component:
- when stakeholder changes: update or reset properties adminToolsCommunity, adminToolsPortalType and init community information

View differences:

app-routing.module.ts
59 59
  },
60 60

  
61 61
  /* Library paths*/
62

  
62 63
  {
63
    path: 'portals',
64
    loadChildren: './portals/portals.module#PortalsModule',
65
    resolve: { envSpecific: EnvironmentSpecificResolver  },
66
    data: {hasAdminMenu: true}
64
    path: 'admin-tools',
65
    loadChildren: './admin-tool/admin-tool-routing.module#AdminToolRoutingModule',
66
    resolve: {envSpecific: EnvironmentSpecificResolver},
67
    data: {hasMiniMenu: true, isFrontPage: false}
67 68
  },
68
  {
69
    path: 'entities',
70
    loadChildren: './entities/entities.module#MonitorEntitiesModule',
71
    resolve: { envSpecific: EnvironmentSpecificResolver  },
72
    data: {hasAdminMenu: true}
73
  },
74
  {
75
    path: 'classes',
76
    loadChildren: './classes/classes.module#ClassesModule',
77
    resolve: { envSpecific: EnvironmentSpecificResolver  },
78
    data: {hasAdminMenu: true}
79
  },
80
  {
81
    path: 'classContents',
82
    loadChildren: './classHelpTexts/div-help-contents.module#MonitorDivHelpContentsModule',
83
    resolve: { envSpecific: EnvironmentSpecificResolver  },
84
    data: {hasAdminMenu: true}
85
  },
86
  {
87
    path: 'classContents/new',
88
    loadChildren: './classHelpTexts/new-div-help-content.module#MonitorNewDivHelpContentModule',
89
    resolve: { envSpecific: EnvironmentSpecificResolver  },
90
    data: {hasAdminMenu: true}
91
  },
92
  {
93
    path: 'classContents/edit',
94
    loadChildren: './classHelpTexts/edit-div-help-content.module#MonitorEditDivHelpContentModule',
95
    resolve: { envSpecific: EnvironmentSpecificResolver  },
96
    data: {hasAdminMenu: true}
97
  },
98
  {
99
    path: 'helptexts',
100
    loadChildren: './helpTexts/page-help-contents.module#MonitorPageHelpContentsModule',
101
    resolve: { envSpecific: EnvironmentSpecificResolver  },
102
    data: {hasAdminMenu: true}
103
  },
104
  {
105
    path: 'helptexts/new',
106
    loadChildren: './helpTexts/new-page-help-content.module#MonitorNewPageHelpContentModule',
107
    resolve: { envSpecific: EnvironmentSpecificResolver  },
108
    data: {hasAdminMenu: true}
109
  },
110
  {
111
    path: 'helptexts/edit',
112
    loadChildren: './helpTexts/edit-page-help-content.module#MonitorEditPageHelpContentModule',
113
    resolve: { envSpecific: EnvironmentSpecificResolver  },
114
    data: {hasAdminMenu: true}
115
  },
116
  {
117
    path: 'pages',
118
    loadChildren: './pages/pages.module#MonitorPagesModule',
119
    resolve: { envSpecific: EnvironmentSpecificResolver  },
120
    data: {hasAdminMenu: true}
121
  },
122
  {
123
    path: 'pageContents',
124
    loadChildren: './helpTexts/page-help-contents.module#MonitorPageHelpContentsModule',
125
    resolve: { envSpecific: EnvironmentSpecificResolver  },
126
    data: {hasAdminMenu: true}
127
  },
128
  {
129
    path: 'pageContents/new',
130
    loadChildren: './helpTexts/new-page-help-content.module#MonitorNewPageHelpContentModule',
131
    resolve: { envSpecific: EnvironmentSpecificResolver  },
132
    data: {hasAdminMenu: true}
133
  },
134
  {
135
    path: 'pageContents/edit',
136
    loadChildren: './helpTexts/edit-page-help-content.module#MonitorEditPageHelpContentModule',
137
    resolve: { envSpecific: EnvironmentSpecificResolver  },
138
    data: {hasAdminMenu: true}
139
  },
140
  //
141
  // {
142
  //   path: 'htmlPageContent/edit',
143
  //   loadChildren: './pages/htmlpagecontent/edit-html-page-content.module#EditHtmlPageContentModule',
144
  //   resolve: { envSpecific: EnvironmentSpecificResolver  },
145
  //   data: {hasAdminMenu: true}
146
  // },
69

  
147 70
  { path: 'theme', loadChildren: './openaireLibrary/utils/theme/theme.module#ThemeModule'},
148 71
  {
149 72
    path: '',

Also available in: Unified diff