|
Lines 37-43
export const routes = [
Link Here
|
| 37 |
path: "/cgi-bin/koha/erm/erm.pl", |
37 |
path: "/cgi-bin/koha/erm/erm.pl", |
| 38 |
is_default: true, |
38 |
is_default: true, |
| 39 |
is_base: true, |
39 |
is_base: true, |
| 40 |
title: { dynamic: false, text: $__("E-resource management")}, |
40 |
title: { dynamic: false, text: $__("E-resource management") }, |
| 41 |
children: [ |
41 |
children: [ |
| 42 |
{ |
42 |
{ |
| 43 |
path: "", |
43 |
path: "", |
|
Lines 47-53
export const routes = [
Link Here
|
| 47 |
}, |
47 |
}, |
| 48 |
{ |
48 |
{ |
| 49 |
path: "/cgi-bin/koha/erm/agreements", |
49 |
path: "/cgi-bin/koha/erm/agreements", |
| 50 |
title: { dynamic: false, text: $__("Agreements")}, |
50 |
title: { dynamic: false, text: $__("Agreements") }, |
| 51 |
icon: "fa fa-check-circle", |
51 |
icon: "fa fa-check-circle", |
| 52 |
is_end_node: true, |
52 |
is_end_node: true, |
| 53 |
children: [ |
53 |
children: [ |
|
Lines 60-104
export const routes = [
Link Here
|
| 60 |
path: ":agreement_id", |
60 |
path: ":agreement_id", |
| 61 |
name: "AgreementsShow", |
61 |
name: "AgreementsShow", |
| 62 |
component: markRaw(AgreementsShow), |
62 |
component: markRaw(AgreementsShow), |
| 63 |
title: { dynamic: true, text: $__("Show agreement")}, |
63 |
title: { dynamic: true, text: $__("Show agreement") }, |
| 64 |
children: [ |
64 |
children: [ |
| 65 |
{ |
65 |
{ |
| 66 |
path: "items", |
66 |
path: "items", |
| 67 |
title: { dynamic: false, text: $__("")}, |
67 |
title: { dynamic: false, text: $__("") }, |
| 68 |
children: [ |
68 |
children: [ |
| 69 |
{ |
69 |
{ |
| 70 |
path: "add", |
70 |
path: "add", |
| 71 |
name: "TestChildTwo", |
71 |
name: "TestChildTwo", |
| 72 |
component: markRaw(EHoldingsLocalTitlesFormAdd), |
72 |
component: markRaw( |
| 73 |
title: { dynamic: false, text: $__("Add item to train")}, |
73 |
EHoldingsLocalTitlesFormAdd |
|
|
74 |
), |
| 75 |
title: { |
| 76 |
dynamic: false, |
| 77 |
text: $__("Add item to train"), |
| 78 |
}, |
| 74 |
}, |
79 |
}, |
| 75 |
{ |
80 |
{ |
| 76 |
path: "add/:item_ids", |
81 |
path: "add/:item_ids", |
| 77 |
name: "TestChildThree", |
82 |
name: "TestChildThree", |
| 78 |
component: markRaw(EHoldingsLocalPackagesFormAdd), |
83 |
component: markRaw( |
| 79 |
title: { dynamic: false, text: $__("Add items to train")}, |
84 |
EHoldingsLocalPackagesFormAdd |
|
|
85 |
), |
| 86 |
title: { |
| 87 |
dynamic: false, |
| 88 |
text: $__("Add items to train"), |
| 89 |
}, |
| 80 |
}, |
90 |
}, |
| 81 |
] |
91 |
], |
| 82 |
}, |
92 |
}, |
| 83 |
] |
93 |
], |
| 84 |
}, |
94 |
}, |
| 85 |
{ |
95 |
{ |
| 86 |
path: "add", |
96 |
path: "add", |
| 87 |
name: "AgreementsFormAdd", |
97 |
name: "AgreementsFormAdd", |
| 88 |
component: markRaw(AgreementsFormAdd), |
98 |
component: markRaw(AgreementsFormAdd), |
| 89 |
title: { dynamic: false, text: $__("Add agreement")}, |
99 |
title: { dynamic: false, text: $__("Add agreement") }, |
| 90 |
}, |
100 |
}, |
| 91 |
{ |
101 |
{ |
| 92 |
path: "edit/:agreement_id", |
102 |
path: "edit/:agreement_id", |
| 93 |
name: "AgreementsFormAddEdit", |
103 |
name: "AgreementsFormAddEdit", |
| 94 |
component: markRaw(AgreementsFormAdd), |
104 |
component: markRaw(AgreementsFormAdd), |
| 95 |
title: { dynamic: true, text: $__("Edit agreement")}, |
105 |
title: { dynamic: true, text: $__("Edit agreement") }, |
| 96 |
}, |
106 |
}, |
| 97 |
], |
107 |
], |
| 98 |
}, |
108 |
}, |
| 99 |
{ |
109 |
{ |
| 100 |
path: "/cgi-bin/koha/erm/licenses", |
110 |
path: "/cgi-bin/koha/erm/licenses", |
| 101 |
title: { dynamic: false, text: $__("Licenses")}, |
111 |
title: { dynamic: false, text: $__("Licenses") }, |
| 102 |
icon: "fa fa-gavel", |
112 |
icon: "fa fa-gavel", |
| 103 |
is_end_node: true, |
113 |
is_end_node: true, |
| 104 |
children: [ |
114 |
children: [ |
|
Lines 111-147
export const routes = [
Link Here
|
| 111 |
path: ":license_id", |
121 |
path: ":license_id", |
| 112 |
name: "LicensesShow", |
122 |
name: "LicensesShow", |
| 113 |
component: markRaw(LicensesShow), |
123 |
component: markRaw(LicensesShow), |
| 114 |
title: { dynamic: true, text: $__("Show license")} |
124 |
title: { dynamic: true, text: $__("Show license") }, |
| 115 |
}, |
125 |
}, |
| 116 |
{ |
126 |
{ |
| 117 |
path: "add", |
127 |
path: "add", |
| 118 |
name: "LicensesFormAdd", |
128 |
name: "LicensesFormAdd", |
| 119 |
component: markRaw(LicensesFormAdd), |
129 |
component: markRaw(LicensesFormAdd), |
| 120 |
title: { dynamic: false, text: $__("Add license")} |
130 |
title: { dynamic: false, text: $__("Add license") }, |
| 121 |
}, |
131 |
}, |
| 122 |
{ |
132 |
{ |
| 123 |
path: "edit/:license_id", |
133 |
path: "edit/:license_id", |
| 124 |
name: "LicensesFormAddEdit", |
134 |
name: "LicensesFormAddEdit", |
| 125 |
component: markRaw(LicensesFormAdd), |
135 |
component: markRaw(LicensesFormAdd), |
| 126 |
title: { dynamic: true, text: $__("Edit license")} |
136 |
title: { dynamic: true, text: $__("Edit license") }, |
| 127 |
}, |
137 |
}, |
| 128 |
], |
138 |
], |
| 129 |
}, |
139 |
}, |
| 130 |
{ |
140 |
{ |
| 131 |
path: "/cgi-bin/koha/erm/eholdings", |
141 |
path: "/cgi-bin/koha/erm/eholdings", |
| 132 |
title: { dynamic: false, text: $__("eHoldings")}, |
142 |
title: { dynamic: false, text: $__("eHoldings") }, |
| 133 |
icon: "fa fa-crosshairs", |
143 |
icon: "fa fa-crosshairs", |
| 134 |
disabled: true, |
144 |
disabled: true, |
| 135 |
children: [ |
145 |
children: [ |
| 136 |
{ |
146 |
{ |
| 137 |
path: "local", |
147 |
path: "local", |
| 138 |
title: { dynamic: false, text: $__("Local")}, |
148 |
title: { dynamic: false, text: $__("Local") }, |
| 139 |
icon: "fa-solid fa-location-dot", |
149 |
icon: "fa fa-map-marker", |
| 140 |
disabled: true, |
150 |
disabled: true, |
| 141 |
children: [ |
151 |
children: [ |
| 142 |
{ |
152 |
{ |
| 143 |
path: "packages", |
153 |
path: "packages", |
| 144 |
title: { dynamic: false, text: $__("Packages")}, |
154 |
title: { |
|
|
155 |
dynamic: false, |
| 156 |
text: $__("Packages"), |
| 157 |
}, |
| 145 |
icon: "fa fa-archive", |
158 |
icon: "fa fa-archive", |
| 146 |
is_end_node: true, |
159 |
is_end_node: true, |
| 147 |
children: [ |
160 |
children: [ |
|
Lines 158-164
export const routes = [
Link Here
|
| 158 |
component: markRaw( |
171 |
component: markRaw( |
| 159 |
EHoldingsLocalPackagesShow |
172 |
EHoldingsLocalPackagesShow |
| 160 |
), |
173 |
), |
| 161 |
title: { dynamic: true, text: $__("Show package")} |
174 |
title: { |
|
|
175 |
dynamic: true, |
| 176 |
text: $__("Show package"), |
| 177 |
}, |
| 162 |
}, |
178 |
}, |
| 163 |
{ |
179 |
{ |
| 164 |
path: "add", |
180 |
path: "add", |
|
Lines 166-172
export const routes = [
Link Here
|
| 166 |
component: markRaw( |
182 |
component: markRaw( |
| 167 |
EHoldingsLocalPackagesFormAdd |
183 |
EHoldingsLocalPackagesFormAdd |
| 168 |
), |
184 |
), |
| 169 |
title: { dynamic: false, text: $__("Add package")} |
185 |
title: { |
|
|
186 |
dynamic: false, |
| 187 |
text: $__("Add package"), |
| 188 |
}, |
| 170 |
}, |
189 |
}, |
| 171 |
{ |
190 |
{ |
| 172 |
path: "edit/:package_id", |
191 |
path: "edit/:package_id", |
|
Lines 174-187
export const routes = [
Link Here
|
| 174 |
component: markRaw( |
193 |
component: markRaw( |
| 175 |
EHoldingsLocalPackagesFormAdd |
194 |
EHoldingsLocalPackagesFormAdd |
| 176 |
), |
195 |
), |
| 177 |
title: { dynamic: true, text: $__("Edit package")} |
196 |
title: { |
|
|
197 |
dynamic: true, |
| 198 |
text: $__("Edit package"), |
| 199 |
}, |
| 178 |
}, |
200 |
}, |
| 179 |
], |
201 |
], |
| 180 |
}, |
202 |
}, |
| 181 |
{ |
203 |
{ |
| 182 |
path: "titles", |
204 |
path: "titles", |
| 183 |
title: { dynamic: false, text: $__("Titles")}, |
205 |
title: { dynamic: false, text: $__("Titles") }, |
| 184 |
icon: "fa-solid fa-arrow-down-a-z", |
206 |
icon: "fa fa-sort-alpha-asc", |
| 185 |
is_end_node: true, |
207 |
is_end_node: true, |
| 186 |
children: [ |
208 |
children: [ |
| 187 |
{ |
209 |
{ |
|
Lines 197-203
export const routes = [
Link Here
|
| 197 |
component: markRaw( |
219 |
component: markRaw( |
| 198 |
EHoldingsLocalTitlesShow |
220 |
EHoldingsLocalTitlesShow |
| 199 |
), |
221 |
), |
| 200 |
title: { dynamic: true, text: $__("Show title")} |
222 |
title: { |
|
|
223 |
dynamic: true, |
| 224 |
text: $__("Show title"), |
| 225 |
}, |
| 201 |
}, |
226 |
}, |
| 202 |
{ |
227 |
{ |
| 203 |
path: "add", |
228 |
path: "add", |
|
Lines 205-211
export const routes = [
Link Here
|
| 205 |
component: markRaw( |
230 |
component: markRaw( |
| 206 |
EHoldingsLocalTitlesFormAdd |
231 |
EHoldingsLocalTitlesFormAdd |
| 207 |
), |
232 |
), |
| 208 |
title: { dynamic: false, text: $__("Add title")} |
233 |
title: { |
|
|
234 |
dynamic: false, |
| 235 |
text: $__("Add title"), |
| 236 |
}, |
| 209 |
}, |
237 |
}, |
| 210 |
{ |
238 |
{ |
| 211 |
path: "edit/:title_id", |
239 |
path: "edit/:title_id", |
|
Lines 213-219
export const routes = [
Link Here
|
| 213 |
component: markRaw( |
241 |
component: markRaw( |
| 214 |
EHoldingsLocalTitlesFormAdd |
242 |
EHoldingsLocalTitlesFormAdd |
| 215 |
), |
243 |
), |
| 216 |
title: { dynamic: true, text: $__("Edit title")} |
244 |
title: { |
|
|
245 |
dynamic: true, |
| 246 |
text: $__("Edit title"), |
| 247 |
}, |
| 217 |
}, |
248 |
}, |
| 218 |
{ |
249 |
{ |
| 219 |
path: "import", |
250 |
path: "import", |
|
Lines 221-227
export const routes = [
Link Here
|
| 221 |
component: markRaw( |
252 |
component: markRaw( |
| 222 |
EHoldingsLocalTitlesFormImport |
253 |
EHoldingsLocalTitlesFormImport |
| 223 |
), |
254 |
), |
| 224 |
title: { dynamic: false, text: $__("Import from a list")} |
255 |
title: { |
|
|
256 |
dynamic: false, |
| 257 |
text: $__("Import from a list"), |
| 258 |
}, |
| 225 |
}, |
259 |
}, |
| 226 |
{ |
260 |
{ |
| 227 |
path: "/cgi-bin/koha/erm/eholdings/local/resources/:resource_id", |
261 |
path: "/cgi-bin/koha/erm/eholdings/local/resources/:resource_id", |
|
Lines 229-235
export const routes = [
Link Here
|
| 229 |
component: markRaw( |
263 |
component: markRaw( |
| 230 |
EHoldingsLocalResourcesShow |
264 |
EHoldingsLocalResourcesShow |
| 231 |
), |
265 |
), |
| 232 |
title: { dynamic: true, text: $__("Resource")} |
266 |
title: { |
|
|
267 |
dynamic: true, |
| 268 |
text: $__("Resource"), |
| 269 |
}, |
| 233 |
}, |
270 |
}, |
| 234 |
], |
271 |
], |
| 235 |
}, |
272 |
}, |
|
Lines 237-249
export const routes = [
Link Here
|
| 237 |
}, |
274 |
}, |
| 238 |
{ |
275 |
{ |
| 239 |
path: "ebsco", |
276 |
path: "ebsco", |
| 240 |
title: { dynamic: false, text: $__("EBSCO")}, |
277 |
title: { dynamic: false, text: $__("EBSCO") }, |
| 241 |
icon: "fa fa-globe", |
278 |
icon: "fa fa-globe", |
| 242 |
disabled: true, |
279 |
disabled: true, |
| 243 |
children: [ |
280 |
children: [ |
| 244 |
{ |
281 |
{ |
| 245 |
path: "packages", |
282 |
path: "packages", |
| 246 |
title: { dynamic: false, text: $__("Packages")}, |
283 |
title: { |
|
|
284 |
dynamic: false, |
| 285 |
text: $__("Packages"), |
| 286 |
}, |
| 247 |
icon: "fa fa-archive", |
287 |
icon: "fa fa-archive", |
| 248 |
is_end_node: true, |
288 |
is_end_node: true, |
| 249 |
children: [ |
289 |
children: [ |
|
Lines 260-273
export const routes = [
Link Here
|
| 260 |
component: markRaw( |
300 |
component: markRaw( |
| 261 |
EHoldingsEBSCOPackagesShow |
301 |
EHoldingsEBSCOPackagesShow |
| 262 |
), |
302 |
), |
| 263 |
title: { dynamic: true, text: $__("Show package")} |
303 |
title: { |
|
|
304 |
dynamic: true, |
| 305 |
text: $__("Show package"), |
| 306 |
}, |
| 264 |
}, |
307 |
}, |
| 265 |
], |
308 |
], |
| 266 |
}, |
309 |
}, |
| 267 |
{ |
310 |
{ |
| 268 |
path: "titles", |
311 |
path: "titles", |
| 269 |
title: { dynamic: true, text: $__("Titles")}, |
312 |
title: { dynamic: true, text: $__("Titles") }, |
| 270 |
icon: "fa-solid fa-arrow-down-a-z", |
313 |
icon: "fa fa-sort-alpha-asc", |
| 271 |
is_end_node: true, |
314 |
is_end_node: true, |
| 272 |
children: [ |
315 |
children: [ |
| 273 |
{ |
316 |
{ |
|
Lines 283-289
export const routes = [
Link Here
|
| 283 |
component: markRaw( |
326 |
component: markRaw( |
| 284 |
EHoldingsEBSCOTitlesShow |
327 |
EHoldingsEBSCOTitlesShow |
| 285 |
), |
328 |
), |
| 286 |
title: { dynamic: true, text: $__("Show title")} |
329 |
title: { |
|
|
330 |
dynamic: true, |
| 331 |
text: $__("Show title"), |
| 332 |
}, |
| 287 |
}, |
333 |
}, |
| 288 |
{ |
334 |
{ |
| 289 |
path: "/cgi-bin/koha/erm/eholdings/ebsco/resources/:resource_id", |
335 |
path: "/cgi-bin/koha/erm/eholdings/ebsco/resources/:resource_id", |
|
Lines 291-297
export const routes = [
Link Here
|
| 291 |
component: markRaw( |
337 |
component: markRaw( |
| 292 |
EHoldingsEBSCOResourcesShow |
338 |
EHoldingsEBSCOResourcesShow |
| 293 |
), |
339 |
), |
| 294 |
title: { dynamic: true, text: $__("Resource")}, |
340 |
title: { |
|
|
341 |
dynamic: true, |
| 342 |
text: $__("Resource"), |
| 343 |
}, |
| 295 |
is_navigation_item: false, |
344 |
is_navigation_item: false, |
| 296 |
}, |
345 |
}, |
| 297 |
], |
346 |
], |
| 298 |
- |
|
|