Bug 37893: (QA follow-up): Update SIP2 breadcrumbs to start with Administration
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
7339867550
commit
d968e4e77c
|
|
@ -6,110 +6,120 @@ import { $__ } from "../i18n";
|
|||
|
||||
export const routes = [
|
||||
{
|
||||
path: "/cgi-bin/koha/sip2/sip2.pl",
|
||||
is_default: true,
|
||||
title: $__("Administration"),
|
||||
path: "",
|
||||
href: "/cgi-bin/koha/admin/admin-home.pl",
|
||||
is_base: true,
|
||||
title: $__("SIP2"),
|
||||
is_default: true,
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "Home",
|
||||
component: markRaw(Home),
|
||||
is_navigation_item: false,
|
||||
},
|
||||
{
|
||||
path: "/cgi-bin/koha/sip2/institutions",
|
||||
title: $__("Institutions"),
|
||||
icon: "fa fa-building-columns",
|
||||
is_end_node: true,
|
||||
resource: "SIP2/SIP2InstitutionResource.vue",
|
||||
path: "/cgi-bin/koha/sip2/sip2.pl",
|
||||
is_default: true,
|
||||
is_base: true,
|
||||
title: $__("SIP2"),
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "SIP2InstitutionsList",
|
||||
component: markRaw(ResourceWrapper),
|
||||
name: "Home",
|
||||
component: markRaw(Home),
|
||||
is_navigation_item: false,
|
||||
},
|
||||
{
|
||||
path: ":sip_institution_id",
|
||||
name: "SIP2InstitutionsShow",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Show institution"),
|
||||
path: "/cgi-bin/koha/sip2/institutions",
|
||||
title: $__("Institutions"),
|
||||
icon: "fa fa-building-columns",
|
||||
is_end_node: true,
|
||||
resource: "SIP2/SIP2InstitutionResource.vue",
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "SIP2InstitutionsList",
|
||||
component: markRaw(ResourceWrapper),
|
||||
},
|
||||
{
|
||||
path: ":sip_institution_id",
|
||||
name: "SIP2InstitutionsShow",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Show institution"),
|
||||
},
|
||||
{
|
||||
path: "add",
|
||||
name: "SIP2InstitutionsFormAdd",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Add institution"),
|
||||
},
|
||||
{
|
||||
path: "edit/:sip_institution_id",
|
||||
name: "SIP2InstitutionsFormAddEdit",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Edit institution"),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "add",
|
||||
name: "SIP2InstitutionsFormAdd",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Add institution"),
|
||||
path: "/cgi-bin/koha/sip2/accounts",
|
||||
title: $__("Accounts"),
|
||||
icon: "fa fa-user",
|
||||
is_end_node: true,
|
||||
resource: "SIP2/SIP2AccountResource.vue",
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "SIP2AccountsList",
|
||||
component: markRaw(ResourceWrapper),
|
||||
},
|
||||
{
|
||||
path: ":sip_account_id",
|
||||
name: "SIP2AccountsShow",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Show account"),
|
||||
},
|
||||
{
|
||||
path: "add",
|
||||
name: "SIP2AccountsFormAdd",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Add account"),
|
||||
},
|
||||
{
|
||||
path: "edit/:sip_account_id",
|
||||
name: "SIP2AccountsFormAddEdit",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Edit account"),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "edit/:sip_institution_id",
|
||||
name: "SIP2InstitutionsFormAddEdit",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Edit institution"),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/cgi-bin/koha/sip2/accounts",
|
||||
title: $__("Accounts"),
|
||||
icon: "fa fa-user",
|
||||
is_end_node: true,
|
||||
resource: "SIP2/SIP2AccountResource.vue",
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "SIP2AccountsList",
|
||||
component: markRaw(ResourceWrapper),
|
||||
},
|
||||
{
|
||||
path: ":sip_account_id",
|
||||
name: "SIP2AccountsShow",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Show account"),
|
||||
},
|
||||
{
|
||||
path: "add",
|
||||
name: "SIP2AccountsFormAdd",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Add account"),
|
||||
},
|
||||
{
|
||||
path: "edit/:sip_account_id",
|
||||
name: "SIP2AccountsFormAddEdit",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Edit account"),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: "/cgi-bin/koha/sip2/system_preference_overrides",
|
||||
title: $__("System preference overrides"),
|
||||
icon: "fa fa-cog",
|
||||
is_end_node: true,
|
||||
resource: "SIP2/SIP2SystemPreferenceOverrideResource.vue",
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "SIP2SystemPreferenceOverridesList",
|
||||
component: markRaw(ResourceWrapper),
|
||||
},
|
||||
{
|
||||
path: ":sip_system_preference_override_id",
|
||||
name: "SIP2SystemPreferenceOverridesShow",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Show system preference override"),
|
||||
},
|
||||
{
|
||||
path: "add",
|
||||
name: "SIP2SystemPreferenceOverridesFormAdd",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Add system preference override"),
|
||||
},
|
||||
{
|
||||
path: "edit/:sip_system_preference_override_id",
|
||||
name: "SIP2SystemPreferenceOverridesFormAddEdit",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Edit system preference override"),
|
||||
path: "/cgi-bin/koha/sip2/system_preference_overrides",
|
||||
title: $__("System preference overrides"),
|
||||
icon: "fa fa-cog",
|
||||
is_end_node: true,
|
||||
resource:
|
||||
"SIP2/SIP2SystemPreferenceOverrideResource.vue",
|
||||
children: [
|
||||
{
|
||||
path: "",
|
||||
name: "SIP2SystemPreferenceOverridesList",
|
||||
component: markRaw(ResourceWrapper),
|
||||
},
|
||||
{
|
||||
path: ":sip_system_preference_override_id",
|
||||
name: "SIP2SystemPreferenceOverridesShow",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Show system preference override"),
|
||||
},
|
||||
{
|
||||
path: "add",
|
||||
name: "SIP2SystemPreferenceOverridesFormAdd",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Add system preference override"),
|
||||
},
|
||||
{
|
||||
path: "edit/:sip_system_preference_override_id",
|
||||
name: "SIP2SystemPreferenceOverridesFormAddEdit",
|
||||
component: markRaw(ResourceWrapper),
|
||||
title: $__("Edit system preference override"),
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue