|
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: $__("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: $__("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-84
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: $__("Show agreement"), |
63 |
title: { dynamic: true, text: $__("Show agreement") }, |
| 64 |
}, |
64 |
}, |
| 65 |
{ |
65 |
{ |
| 66 |
path: "add", |
66 |
path: "add", |
| 67 |
name: "AgreementsFormAdd", |
67 |
name: "AgreementsFormAdd", |
| 68 |
component: markRaw(AgreementsFormAdd), |
68 |
component: markRaw(AgreementsFormAdd), |
| 69 |
title: $__("Add agreement"), |
69 |
title: { dynamic: false, text: $__("Add agreement") }, |
| 70 |
}, |
70 |
}, |
| 71 |
{ |
71 |
{ |
| 72 |
path: "edit/:agreement_id", |
72 |
path: "edit/:agreement_id", |
| 73 |
name: "AgreementsFormAddEdit", |
73 |
name: "AgreementsFormAddEdit", |
| 74 |
component: markRaw(AgreementsFormAdd), |
74 |
component: markRaw(AgreementsFormAdd), |
| 75 |
title: $__("Edit agreement"), |
75 |
title: { dynamic: true, text: $__("Edit agreement") }, |
| 76 |
}, |
76 |
}, |
| 77 |
], |
77 |
], |
| 78 |
}, |
78 |
}, |
| 79 |
{ |
79 |
{ |
| 80 |
path: "/cgi-bin/koha/erm/licenses", |
80 |
path: "/cgi-bin/koha/erm/licenses", |
| 81 |
title: $__("Licenses"), |
81 |
title: { dynamic: false, text: $__("Licenses") }, |
| 82 |
icon: "fa fa-gavel", |
82 |
icon: "fa fa-gavel", |
| 83 |
is_end_node: true, |
83 |
is_end_node: true, |
| 84 |
children: [ |
84 |
children: [ |
|
Lines 91-127
export const routes = [
Link Here
|
| 91 |
path: ":license_id", |
91 |
path: ":license_id", |
| 92 |
name: "LicensesShow", |
92 |
name: "LicensesShow", |
| 93 |
component: markRaw(LicensesShow), |
93 |
component: markRaw(LicensesShow), |
| 94 |
title: $__("Show license"), |
94 |
title: { dynamic: true, text: $__("Show license") }, |
| 95 |
}, |
95 |
}, |
| 96 |
{ |
96 |
{ |
| 97 |
path: "add", |
97 |
path: "add", |
| 98 |
name: "LicensesFormAdd", |
98 |
name: "LicensesFormAdd", |
| 99 |
component: markRaw(LicensesFormAdd), |
99 |
component: markRaw(LicensesFormAdd), |
| 100 |
title: $__("Add license"), |
100 |
title: { dynamic: false, text: $__("Add license") }, |
| 101 |
}, |
101 |
}, |
| 102 |
{ |
102 |
{ |
| 103 |
path: "edit/:license_id", |
103 |
path: "edit/:license_id", |
| 104 |
name: "LicensesFormAddEdit", |
104 |
name: "LicensesFormAddEdit", |
| 105 |
component: markRaw(LicensesFormAdd), |
105 |
component: markRaw(LicensesFormAdd), |
| 106 |
title: $__("Edit license"), |
106 |
title: { dynamic: true, text: $__("Edit license") }, |
| 107 |
}, |
107 |
}, |
| 108 |
], |
108 |
], |
| 109 |
}, |
109 |
}, |
| 110 |
{ |
110 |
{ |
| 111 |
path: "/cgi-bin/koha/erm/eholdings", |
111 |
path: "/cgi-bin/koha/erm/eholdings", |
| 112 |
title: $__("eHoldings"), |
112 |
title: { dynamic: false, text: $__("eHoldings") }, |
| 113 |
icon: "fa fa-crosshairs", |
113 |
icon: "fa fa-crosshairs", |
| 114 |
disabled: true, |
114 |
disabled: true, |
| 115 |
children: [ |
115 |
children: [ |
| 116 |
{ |
116 |
{ |
| 117 |
path: "local", |
117 |
path: "local", |
| 118 |
title: $__("Local"), |
118 |
title: { dynamic: false, text: $__("Local") }, |
| 119 |
icon: "fa-solid fa-location-dot", |
119 |
icon: "fa-solid fa-location-dot", |
| 120 |
disabled: true, |
120 |
disabled: true, |
| 121 |
children: [ |
121 |
children: [ |
| 122 |
{ |
122 |
{ |
| 123 |
path: "packages", |
123 |
path: "packages", |
| 124 |
title: $__("Packages"), |
124 |
title: { |
|
|
125 |
dynamic: false, |
| 126 |
text: $__("Packages"), |
| 127 |
}, |
| 125 |
icon: "fa fa-archive", |
128 |
icon: "fa fa-archive", |
| 126 |
is_end_node: true, |
129 |
is_end_node: true, |
| 127 |
children: [ |
130 |
children: [ |
|
Lines 138-144
export const routes = [
Link Here
|
| 138 |
component: markRaw( |
141 |
component: markRaw( |
| 139 |
EHoldingsLocalPackagesShow |
142 |
EHoldingsLocalPackagesShow |
| 140 |
), |
143 |
), |
| 141 |
title: $__("Show package"), |
144 |
title: { |
|
|
145 |
dynamic: true, |
| 146 |
text: $__("Show package"), |
| 147 |
}, |
| 142 |
}, |
148 |
}, |
| 143 |
{ |
149 |
{ |
| 144 |
path: "add", |
150 |
path: "add", |
|
Lines 146-152
export const routes = [
Link Here
|
| 146 |
component: markRaw( |
152 |
component: markRaw( |
| 147 |
EHoldingsLocalPackagesFormAdd |
153 |
EHoldingsLocalPackagesFormAdd |
| 148 |
), |
154 |
), |
| 149 |
title: $__("Add package"), |
155 |
title: { |
|
|
156 |
dynamic: false, |
| 157 |
text: $__("Add package"), |
| 158 |
}, |
| 150 |
}, |
159 |
}, |
| 151 |
{ |
160 |
{ |
| 152 |
path: "edit/:package_id", |
161 |
path: "edit/:package_id", |
|
Lines 154-166
export const routes = [
Link Here
|
| 154 |
component: markRaw( |
163 |
component: markRaw( |
| 155 |
EHoldingsLocalPackagesFormAdd |
164 |
EHoldingsLocalPackagesFormAdd |
| 156 |
), |
165 |
), |
| 157 |
title: $__("Edit package"), |
166 |
title: { |
|
|
167 |
dynamic: true, |
| 168 |
text: $__("Edit package"), |
| 169 |
}, |
| 158 |
}, |
170 |
}, |
| 159 |
], |
171 |
], |
| 160 |
}, |
172 |
}, |
| 161 |
{ |
173 |
{ |
| 162 |
path: "titles", |
174 |
path: "titles", |
| 163 |
title: $__("Titles"), |
175 |
title: { dynamic: false, text: $__("Titles") }, |
| 164 |
icon: "fa-solid fa-arrow-down-a-z", |
176 |
icon: "fa-solid fa-arrow-down-a-z", |
| 165 |
is_end_node: true, |
177 |
is_end_node: true, |
| 166 |
children: [ |
178 |
children: [ |
|
Lines 177-183
export const routes = [
Link Here
|
| 177 |
component: markRaw( |
189 |
component: markRaw( |
| 178 |
EHoldingsLocalTitlesShow |
190 |
EHoldingsLocalTitlesShow |
| 179 |
), |
191 |
), |
| 180 |
title: $__("Show title"), |
192 |
title: { |
|
|
193 |
dynamic: true, |
| 194 |
text: $__("Show title"), |
| 195 |
}, |
| 181 |
}, |
196 |
}, |
| 182 |
{ |
197 |
{ |
| 183 |
path: "add", |
198 |
path: "add", |
|
Lines 185-191
export const routes = [
Link Here
|
| 185 |
component: markRaw( |
200 |
component: markRaw( |
| 186 |
EHoldingsLocalTitlesFormAdd |
201 |
EHoldingsLocalTitlesFormAdd |
| 187 |
), |
202 |
), |
| 188 |
title: $__("Add title"), |
203 |
title: { |
|
|
204 |
dynamic: false, |
| 205 |
text: $__("Add title"), |
| 206 |
}, |
| 189 |
}, |
207 |
}, |
| 190 |
{ |
208 |
{ |
| 191 |
path: "edit/:title_id", |
209 |
path: "edit/:title_id", |
|
Lines 193-199
export const routes = [
Link Here
|
| 193 |
component: markRaw( |
211 |
component: markRaw( |
| 194 |
EHoldingsLocalTitlesFormAdd |
212 |
EHoldingsLocalTitlesFormAdd |
| 195 |
), |
213 |
), |
| 196 |
title: $__("Edit title"), |
214 |
title: { |
|
|
215 |
dynamic: true, |
| 216 |
text: $__("Edit title"), |
| 217 |
}, |
| 197 |
}, |
218 |
}, |
| 198 |
{ |
219 |
{ |
| 199 |
path: "import", |
220 |
path: "import", |
|
Lines 201-207
export const routes = [
Link Here
|
| 201 |
component: markRaw( |
222 |
component: markRaw( |
| 202 |
EHoldingsLocalTitlesFormImport |
223 |
EHoldingsLocalTitlesFormImport |
| 203 |
), |
224 |
), |
| 204 |
title: $__("Import from a list"), |
225 |
title: { |
|
|
226 |
dynamic: false, |
| 227 |
text: $__("Import from a list"), |
| 228 |
}, |
| 205 |
}, |
229 |
}, |
| 206 |
{ |
230 |
{ |
| 207 |
path: "/cgi-bin/koha/erm/eholdings/local/resources/:resource_id", |
231 |
path: "/cgi-bin/koha/erm/eholdings/local/resources/:resource_id", |
|
Lines 209-215
export const routes = [
Link Here
|
| 209 |
component: markRaw( |
233 |
component: markRaw( |
| 210 |
EHoldingsLocalResourcesShow |
234 |
EHoldingsLocalResourcesShow |
| 211 |
), |
235 |
), |
| 212 |
title: $__("Resource"), |
236 |
title: { |
|
|
237 |
dynamic: true, |
| 238 |
text: $__("Resource"), |
| 239 |
}, |
| 213 |
}, |
240 |
}, |
| 214 |
], |
241 |
], |
| 215 |
}, |
242 |
}, |
|
Lines 217-229
export const routes = [
Link Here
|
| 217 |
}, |
244 |
}, |
| 218 |
{ |
245 |
{ |
| 219 |
path: "ebsco", |
246 |
path: "ebsco", |
| 220 |
title: $__("EBSCO"), |
247 |
title: { dynamic: false, text: $__("EBSCO") }, |
| 221 |
icon: "fa fa-globe", |
248 |
icon: "fa fa-globe", |
| 222 |
disabled: true, |
249 |
disabled: true, |
| 223 |
children: [ |
250 |
children: [ |
| 224 |
{ |
251 |
{ |
| 225 |
path: "packages", |
252 |
path: "packages", |
| 226 |
title: $__("Packages"), |
253 |
title: { |
|
|
254 |
dynamic: false, |
| 255 |
text: $__("Packages"), |
| 256 |
}, |
| 227 |
icon: "fa fa-archive", |
257 |
icon: "fa fa-archive", |
| 228 |
is_end_node: true, |
258 |
is_end_node: true, |
| 229 |
children: [ |
259 |
children: [ |
|
Lines 240-252
export const routes = [
Link Here
|
| 240 |
component: markRaw( |
270 |
component: markRaw( |
| 241 |
EHoldingsEBSCOPackagesShow |
271 |
EHoldingsEBSCOPackagesShow |
| 242 |
), |
272 |
), |
| 243 |
title: $__("Show package"), |
273 |
title: { |
|
|
274 |
dynamic: true, |
| 275 |
text: $__("Show package"), |
| 276 |
}, |
| 244 |
}, |
277 |
}, |
| 245 |
], |
278 |
], |
| 246 |
}, |
279 |
}, |
| 247 |
{ |
280 |
{ |
| 248 |
path: "titles", |
281 |
path: "titles", |
| 249 |
title: $__("Titles"), |
282 |
title: { dynamic: true, text: $__("Titles") }, |
| 250 |
icon: "fa-solid fa-arrow-down-a-z", |
283 |
icon: "fa-solid fa-arrow-down-a-z", |
| 251 |
is_end_node: true, |
284 |
is_end_node: true, |
| 252 |
children: [ |
285 |
children: [ |
|
Lines 263-269
export const routes = [
Link Here
|
| 263 |
component: markRaw( |
296 |
component: markRaw( |
| 264 |
EHoldingsEBSCOTitlesShow |
297 |
EHoldingsEBSCOTitlesShow |
| 265 |
), |
298 |
), |
| 266 |
title: $__("Show title"), |
299 |
title: { |
|
|
300 |
dynamic: true, |
| 301 |
text: $__("Show title"), |
| 302 |
}, |
| 267 |
}, |
303 |
}, |
| 268 |
{ |
304 |
{ |
| 269 |
path: "/cgi-bin/koha/erm/eholdings/ebsco/resources/:resource_id", |
305 |
path: "/cgi-bin/koha/erm/eholdings/ebsco/resources/:resource_id", |
|
Lines 271-277
export const routes = [
Link Here
|
| 271 |
component: markRaw( |
307 |
component: markRaw( |
| 272 |
EHoldingsEBSCOResourcesShow |
308 |
EHoldingsEBSCOResourcesShow |
| 273 |
), |
309 |
), |
| 274 |
title: $__("Resource"), |
310 |
title: { |
|
|
311 |
dynamic: true, |
| 312 |
text: $__("Resource"), |
| 313 |
}, |
| 275 |
is_navigation_item: false, |
314 |
is_navigation_item: false, |
| 276 |
}, |
315 |
}, |
| 277 |
], |
316 |
], |