Revision 60203
Added by Argiro Kokogiannaki over 3 years ago
admin-tool-routing.module.ts | ||
---|---|---|
10 | 10 |
{path: '', redirectTo: '/admin', pathMatch: 'full'}, |
11 | 11 |
{ |
12 | 12 |
path: 'portals', |
13 |
loadChildren: './portals/portals.module#PortalsModule',
|
|
13 |
loadChildren: '../openaireLibrary/dashboard/portal/portals.module#PortalsModule',
|
|
14 | 14 |
canActivate:[AdminLoginGuard], |
15 | 15 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
16 | 16 |
data: {hasAdminMenu: true} |
17 | 17 |
}, |
18 | 18 |
{ |
19 | 19 |
path: 'entities', |
20 |
loadChildren: './entities/entities.module#MonitorEntitiesModule',
|
|
20 |
loadChildren: '../openaireLibrary/dashboard/entity/entities.module#EntitiesModule',
|
|
21 | 21 |
canActivate:[AdminLoginGuard], |
22 | 22 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
23 | 23 |
data: {hasAdminMenu: true} |
24 | 24 |
}, |
25 |
|
|
26 | 25 |
{ |
26 |
path: 'classes', |
|
27 |
loadChildren: '../openaireLibrary/dashboard/divId/divIds.module#DivIdsModule', |
|
28 |
canActivate:[AdminLoginGuard], |
|
29 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
|
30 |
data: {hasAdminMenu: true} |
|
31 |
}, |
|
32 |
{ |
|
27 | 33 |
path: 'classContents', |
28 |
loadChildren: './classHelpTexts/div-help-contents.module#MonitorDivHelpContentsModule',
|
|
34 |
loadChildren: '../openaireLibrary/dashboard/divhelpcontent/div-help-contents.module#DivHelpContentsModule',
|
|
29 | 35 |
canActivate:[AdminLoginGuard], |
30 | 36 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
31 | 37 |
data: {hasAdminMenu: true} |
32 | 38 |
}, |
33 | 39 |
{ |
34 | 40 |
path: 'classContents/new', |
35 |
loadChildren: './classHelpTexts/new-div-help-content.module#MonitorNewDivHelpContentModule',
|
|
41 |
loadChildren: '../openaireLibrary/dashboard/divhelpcontent/new-div-help-content.module#NewDivHelpContentModule',
|
|
36 | 42 |
canActivate:[AdminLoginGuard], |
37 | 43 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
38 | 44 |
data: {hasAdminMenu: true} |
39 | 45 |
}, |
40 | 46 |
{ |
41 | 47 |
path: 'classContents/edit', |
42 |
loadChildren: './classHelpTexts/edit-div-help-content.module#MonitorEditDivHelpContentModule',
|
|
48 |
loadChildren: '../openaireLibrary/dashboard/divhelpcontent/edit-div-help-content.module#EditDivHelpContentModule',
|
|
43 | 49 |
canActivate:[AdminLoginGuard], |
44 | 50 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
45 | 51 |
data: {hasAdminMenu: true} |
46 | 52 |
}, |
47 | 53 |
{ |
48 | 54 |
path: 'helptexts', |
49 |
loadChildren: './helpTexts/page-help-contents.module#MonitorPageHelpContentsModule',
|
|
55 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/page-help-contents.module#PageHelpContentsModule',
|
|
50 | 56 |
canActivate:[AdminLoginGuard], |
51 | 57 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
52 | 58 |
data: {hasAdminMenu: true} |
53 | 59 |
}, |
54 | 60 |
{ |
55 | 61 |
path: 'helptexts/new', |
56 |
loadChildren: './helpTexts/new-page-help-content.module#MonitorNewPageHelpContentModule',
|
|
62 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/new-page-help-content.module#NewPageHelpContentModule',
|
|
57 | 63 |
canActivate:[AdminLoginGuard], |
58 | 64 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
59 | 65 |
data: {hasAdminMenu: true} |
60 | 66 |
}, |
61 | 67 |
{ |
62 | 68 |
path: 'helptexts/edit', |
63 |
loadChildren: './helpTexts/edit-page-help-content.module#MonitorEditPageHelpContentModule',
|
|
69 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/edit-page-help-content.module#EditPageHelpContentModule',
|
|
64 | 70 |
canActivate:[AdminLoginGuard], |
65 | 71 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
66 | 72 |
data: {hasAdminMenu: true} |
67 | 73 |
}, |
68 | 74 |
{ |
69 | 75 |
path: 'pages', |
70 |
loadChildren: './pages/pages.module#MonitorPagesModule',
|
|
76 |
loadChildren: '../openaireLibrary/dashboard/page/pages.module#PagesModule',
|
|
71 | 77 |
canActivate:[AdminLoginGuard], |
72 | 78 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
73 | 79 |
data: {hasAdminMenu: true} |
74 | 80 |
}, |
75 | 81 |
{ |
76 | 82 |
path: 'pageContents', |
77 |
loadChildren: './helpTexts/page-help-contents.module#MonitorPageHelpContentsModule',
|
|
83 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/page-help-contents.module#PageHelpContentsModule',
|
|
78 | 84 |
canActivate:[AdminLoginGuard], |
79 | 85 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
80 | 86 |
data: {hasAdminMenu: true} |
81 | 87 |
}, |
82 | 88 |
{ |
83 | 89 |
path: 'pageContents/new', |
84 |
loadChildren: './helpTexts/new-page-help-content.module#MonitorNewPageHelpContentModule',
|
|
90 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/new-page-help-content.module#NewPageHelpContentModule',
|
|
85 | 91 |
canActivate:[AdminLoginGuard], |
86 | 92 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
87 | 93 |
data: {hasAdminMenu: true} |
88 | 94 |
}, |
89 | 95 |
{ |
90 | 96 |
path: 'pageContents/edit', |
91 |
loadChildren: './helpTexts/edit-page-help-content.module#MonitorEditPageHelpContentModule',
|
|
97 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/edit-page-help-content.module#EditPageHelpContentModule',
|
|
92 | 98 |
canActivate:[AdminLoginGuard], |
93 | 99 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
94 | 100 |
data: {hasAdminMenu: true} |
95 | 101 |
}, |
96 | 102 |
|
97 | 103 |
|
98 |
// stakeholder: |
|
99 |
|
|
104 |
// stakeholder: |
|
100 | 105 |
{ |
101 | 106 |
path: ':stakeholder/entities', |
102 |
loadChildren: './entities/entities.module#MonitorEntitiesModule',
|
|
107 |
loadChildren: '../openaireLibrary/dashboard/entity/entities.module#EntitiesModule',
|
|
103 | 108 |
canActivate:[AdminDashboardGuard], |
104 | 109 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
105 | 110 |
data: {hasAdminMenu: true} |
106 | 111 |
}, |
107 | 112 |
{ |
108 | 113 |
path: ':stakeholder/classContents', |
109 |
loadChildren: './classHelpTexts/div-help-contents.module#MonitorDivHelpContentsModule',
|
|
114 |
loadChildren: '../openaireLibrary/dashboard/divhelpcontent/div-help-contents.module#DivHelpContentsModule',
|
|
110 | 115 |
canActivate:[AdminDashboardGuard], |
111 | 116 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
112 | 117 |
data: {hasAdminMenu: true} |
113 | 118 |
}, |
114 | 119 |
{ |
115 | 120 |
path: ':stakeholder/classContents/new', |
116 |
loadChildren: './classHelpTexts/new-div-help-content.module#MonitorNewDivHelpContentModule',
|
|
121 |
loadChildren: '../openaireLibrary/dashboard/divhelpcontent/new-div-help-content.module#NewDivHelpContentModule',
|
|
117 | 122 |
canActivate:[AdminDashboardGuard], |
118 | 123 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
119 | 124 |
data: {hasAdminMenu: true} |
120 | 125 |
}, |
121 | 126 |
{ |
122 | 127 |
path: ':stakeholder/classContents/edit', |
123 |
loadChildren: './classHelpTexts/edit-div-help-content.module#MonitorEditDivHelpContentModule',
|
|
128 |
loadChildren: '../openaireLibrary/dashboard/divhelpcontent/edit-div-help-content.module#EditDivHelpContentModule',
|
|
124 | 129 |
canActivate:[AdminDashboardGuard], |
125 | 130 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
126 | 131 |
data: {hasAdminMenu: true} |
127 | 132 |
}, |
128 | 133 |
{ |
129 | 134 |
path: ':stakeholder/helptexts', |
130 |
loadChildren: './helpTexts/page-help-contents.module#MonitorPageHelpContentsModule',
|
|
135 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/page-help-contents.module#PageHelpContentsModule',
|
|
131 | 136 |
canActivate:[AdminDashboardGuard], |
132 | 137 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
133 | 138 |
data: {hasAdminMenu: true} |
134 | 139 |
}, |
135 | 140 |
{ |
136 | 141 |
path: ':stakeholder/helptexts/new', |
137 |
loadChildren: './helpTexts/new-page-help-content.module#MonitorNewPageHelpContentModule',
|
|
142 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/new-page-help-content.module#NewPageHelpContentModule',
|
|
138 | 143 |
canActivate:[AdminDashboardGuard], |
139 | 144 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
140 | 145 |
data: {hasAdminMenu: true} |
141 | 146 |
}, |
142 | 147 |
{ |
143 | 148 |
path: ':stakeholder/helptexts/edit', |
144 |
loadChildren: './helpTexts/edit-page-help-content.module#MonitorEditPageHelpContentModule',
|
|
149 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/edit-page-help-content.module#EditPageHelpContentModule',
|
|
145 | 150 |
canActivate:[AdminDashboardGuard], |
146 | 151 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
147 | 152 |
data: {hasAdminMenu: true} |
148 | 153 |
}, |
149 | 154 |
{ |
150 | 155 |
path: ':stakeholder/pages', |
151 |
loadChildren: './pages/pages.module#MonitorPagesModule',
|
|
156 |
loadChildren: '../openaireLibrary/dashboard/page/pages.module#PagesModule',
|
|
152 | 157 |
canActivate:[AdminDashboardGuard], |
153 | 158 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
154 | 159 |
data: {hasAdminMenu: true} |
155 | 160 |
}, |
156 | 161 |
{ |
157 | 162 |
path: ':stakeholder/pageContents', |
158 |
loadChildren: './helpTexts/page-help-contents.module#MonitorPageHelpContentsModule',
|
|
163 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/page-help-contents.module#PageHelpContentsModule',
|
|
159 | 164 |
canActivate:[AdminDashboardGuard], |
160 | 165 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
161 | 166 |
data: {hasAdminMenu: true} |
162 | 167 |
}, |
163 | 168 |
{ |
164 | 169 |
path: ':stakeholder/pageContents/new', |
165 |
loadChildren: './helpTexts/new-page-help-content.module#MonitorNewPageHelpContentModule',
|
|
170 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/new-page-help-content.module#NewPageHelpContentModule',
|
|
166 | 171 |
canActivate:[AdminDashboardGuard], |
167 | 172 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
168 | 173 |
data: {hasAdminMenu: true} |
169 | 174 |
}, |
170 | 175 |
{ |
171 | 176 |
path: ':stakeholder/pageContents/edit', |
172 |
loadChildren: './helpTexts/edit-page-help-content.module#MonitorEditPageHelpContentModule',
|
|
177 |
loadChildren: '../openaireLibrary/dashboard/helpTexts/edit-page-help-content.module#EditPageHelpContentModule',
|
|
173 | 178 |
canActivate:[AdminDashboardGuard], |
174 | 179 |
resolve: { envSpecific: EnvironmentSpecificResolver }, |
175 | 180 |
data: {hasAdminMenu: true} |
Also available in: Unified diff
[Monitor Dashboard|Trunk]
- package.json: clean up citation.js + wikidata
- Admin tools:
remove components- use directly library components
- Properties: updates for helptexts