Bug 31993: Improve specificity of authorized values breadcrumbs
This patch adds a link back to the current authorized value category to the breadcrumbs. The page title has also been modified to match. To test apply the patch and go to Administration -> Authorized values. - Click an authorized value category, e.g. CCODE. - Click "New authorized value for CCODE" - In the breadcrumbs menu you should see: "Home -> Administration -> Authorized values -> Authorized values for category CCODE -> New authorized value. - The "Authorized values for category CCODE" link should take you back to the correct view. - The page title should match. - Return to the list of CCODE authorized values and open one for editing. - The breadcrumbs should include a link back to "Authorized values for category CCODE" Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
e714213359
commit
fd7bc8a9b8
1 changed files with 20 additions and 10 deletions
|
@ -7,6 +7,9 @@
|
||||||
[% IF ( action_modify ) %]Modify authorized value › [% END %]
|
[% IF ( action_modify ) %]Modify authorized value › [% END %]
|
||||||
[% IF ( action_add_value ) %]New authorized value › [% END %]
|
[% IF ( action_add_value ) %]New authorized value › [% END %]
|
||||||
[% IF ( action_add_category ) %]New category › [% END %]
|
[% IF ( action_add_category ) %]New category › [% END %]
|
||||||
|
[% IF ( action_modify || action_add_value ) %]
|
||||||
|
Authorized values for category [% category_name | html %] ›
|
||||||
|
[% END %]
|
||||||
[% END %]
|
[% END %]
|
||||||
Authorized values › Administration › Koha
|
Authorized values › Administration › Koha
|
||||||
</title>
|
</title>
|
||||||
|
@ -56,19 +59,26 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a>
|
<a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a>
|
||||||
</li>
|
</li>
|
||||||
[% IF ( action_modify ) %]
|
[% IF ( action_modify || action_add_value ) %]
|
||||||
<li>
|
<li>
|
||||||
<a href="#" aria-current="page">
|
<a href="#">
|
||||||
Modify authorized value
|
<a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category_name | uri %]">Authorized values for category [% category_name | html %]</a>
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
[% END %]
|
|
||||||
[% IF ( action_add_value ) %]
|
|
||||||
<li>
|
|
||||||
<a href="#" aria-current="page">
|
|
||||||
New authorized value
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
[% IF ( action_modify ) %]
|
||||||
|
<li>
|
||||||
|
<a href="#" aria-current="page">
|
||||||
|
Modify authorized value
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
|
[% IF ( action_add_value ) %]
|
||||||
|
<li>
|
||||||
|
<a href="#" aria-current="page">
|
||||||
|
New authorized value
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
[% END %]
|
||||||
[% END %]
|
[% END %]
|
||||||
[% IF ( action_add_category ) %]
|
[% IF ( action_add_category ) %]
|
||||||
<li>
|
<li>
|
||||||
|
|
Loading…
Reference in a new issue