Bugzilla – Attachment 142732 Details for
Bug 31993
Improve specificity of authorized values breadcrumbs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31993: Improve specificity of authorized values breadcrumbs
Bug-31993-Improve-specificity-of-authorized-values.patch (text/plain), 3.45 KB, created by
Katrin Fischer
on 2022-10-27 18:52:37 UTC
(
hide
)
Description:
Bug 31993: Improve specificity of authorized values breadcrumbs
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-10-27 18:52:37 UTC
Size:
3.45 KB
patch
obsolete
>From 46f32c88b57f528e33df8139fb0156ef0f1c55a8 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 26 Oct 2022 15:11:08 +0000 >Subject: [PATCH] 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> >--- > .../en/modules/admin/authorised_values.tt | 30 ++++++++++++------- > 1 file changed, 20 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >index 959ffb4595..fabd008a47 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt >@@ -7,6 +7,9 @@ > [% IF ( action_modify ) %]Modify authorized value › [% END %] > [% IF ( action_add_value ) %]New authorized value › [% END %] > [% IF ( action_add_category ) %]New category › [% END %] >+ [% IF ( action_modify || action_add_value ) %] >+ Authorized values for category [% category_name | html %] › >+ [% END %] > [% END %] > Authorized values › Administration › Koha > </title> >@@ -56,19 +59,26 @@ > <li> > <a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a> > </li> >- [% IF ( action_modify ) %] >+ [% IF ( action_modify || action_add_value ) %] > <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 href="#"> >+ <a href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=[% category_name | uri %]">Authorized values for category [% category_name | html %]</a> > </a> > </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 %] > [% IF ( action_add_category ) %] > <li> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31993
:
142678
|
142708
| 142732