Bug 7483: fixes on breadcrumbs in Authority administration
Better breadcrumbs for the following pages: - auth_tag_structure.pl - auth_subfields_structure.pl Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
parent
471f05a0c7
commit
d27c8210ae
|
|
@ -26,8 +26,12 @@ function displayMoreConstraint(numlayer){
|
|||
[% INCLUDE 'header.inc' %]
|
||||
[% INCLUDE 'cat-search.inc' %]
|
||||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> ›
|
||||
[% IF ( else ) %]Authority MARC subfield structure
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield %]&tagsubfield=[% tagsubfield %]&authtypecode=[% authtypecode %]">Authority MARC subfield structure</a> ›
|
||||
<a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a> ›
|
||||
[% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] framework</a> ›
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a> ›
|
||||
[% END %]
|
||||
[% IF ( else ) %]Authority MARC subfield structure for [% tagfield %]
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield %]&tagsubfield=[% tagsubfield %]&authtypecode=[% authtypecode %]">Authority MARC subfield structure for [% tagfield %]</a> ›
|
||||
[% END %]
|
||||
[% IF ( delete_confirm ) %]Confirm deletion of subfield [% tagsubfield %]?[% END %]
|
||||
[% IF ( delete_confirmed ) %]Data deleted[% END %]
|
||||
|
|
|
|||
|
|
@ -69,21 +69,41 @@ return false;
|
|||
[% INCLUDE 'header.inc' %]
|
||||
[% INCLUDE 'cat-search.inc' %]
|
||||
|
||||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › [% IF ( add_form ) %][% IF ( use_heading_flags_p ) %]
|
||||
[% IF ( heading_modify_tag_p ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Authority MARC framework</a> › [% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] Framework</a>[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>[% END %] › Modify tag[% END %]
|
||||
[% IF ( heading_add_tag_p ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Authority MARC framework</a> › [% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] framework</a>[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>[% END %] › New tag[% END %]
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Authority MARC framework</a> › [% action %]
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ( delete_confirm ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Authority MARC framework</a> ›
|
||||
[% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] framework</a>
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>[% END %] › Confirm deletion
|
||||
[% ELSE %]
|
||||
[% IF ( delete_confirmed ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Authority MARC framework</a> › Data deleted
|
||||
[% ELSE %]Authority MARC framework: [% IF ( authtypecode ) %][% authtypecode %] framework
|
||||
[% ELSE %]Default framework[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> ›
|
||||
<a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a> ›
|
||||
[% IF ( add_form ) %]
|
||||
[% IF ( use_heading_flags_p ) %]
|
||||
[% IF ( heading_modify_tag_p ) %]
|
||||
[% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] Framework</a>
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>
|
||||
[% END %] › Modify tag
|
||||
[% END %]
|
||||
[% IF ( heading_add_tag_p ) %]
|
||||
[% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] framework</a>
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>
|
||||
[% END %] › New tag
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] Framework</a>
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>
|
||||
[% END %] › [% action %]
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ( delete_confirm ) %]
|
||||
[% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] framework</a>
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>
|
||||
[% END %] › Confirm deletion
|
||||
[% ELSE %]
|
||||
[% IF ( delete_confirmed ) %]
|
||||
[% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] framework</a>
|
||||
[% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>
|
||||
[% END %] › Data deleted
|
||||
[% ELSE %]
|
||||
[% IF ( authtypecode ) %][% authtypecode %] Framework</a>
|
||||
[% ELSE %]Default framework
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue