Bugzilla – Attachment 154635 Details for
Bug 34381
Inconsistencies in Authorized values page title
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34381: Correct inconsistencies in Authorized values page title
Bug-34381-Correct-inconsistencies-in-Authorized-va.patch (text/plain), 2.61 KB, created by
PTFS Europe Sandboxes
on 2023-08-18 10:48:07 UTC
(
hide
)
Description:
Bug 34381: Correct inconsistencies in Authorized values page title
Filename:
MIME Type:
Creator:
PTFS Europe Sandboxes
Created:
2023-08-18 10:48:07 UTC
Size:
2.61 KB
patch
obsolete
>From a5787f0d0fddbcc8d5ac719479fd92a0e62c4b34 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 18 Aug 2023 09:07:59 +0000 >Subject: [PATCH] Bug 34381: Correct inconsistencies in Authorized values page > title > >This patch rewords the authorized values template title logic so that it >matches the breadcrumb navigation for consistency. > >To test, apply the patch and go to Administration -> Authorized values. > >Test all versions of the page to confirm that the breadcrumbs and page >title are consistent with each other: > > - Main view > - New category > - View category (click a category, e.g. CCODE, in the main view) > - Add authorized value > - Edit authorized value > >Signed-off-by: Christian Nelson <christian.nelson@uwasa.fi> >--- > .../en/modules/admin/authorised_values.tt | 22 +++++++++++-------- > 1 file changed, 13 insertions(+), 9 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 0bcd8c984e..436572b1b9 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 >@@ -5,19 +5,23 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>[% FILTER collapse %] > [% IF op == 'add_form' %] >- [% IF ( action_modify ) %] >- [% t("Modify authorized value") | html %] › >- [% END %] >- [% IF ( action_add_value ) %] >- [% t("New authorized value") | html %] › >+ [% IF ( action_modify || action_add_value ) %] >+ [% IF ( action_modify ) %] >+ [% t("Modify authorized value") | html %] › >+ [% END %] >+ [% IF ( action_add_value ) %] >+ [% t("New authorized value") | html %] › >+ [% END %] >+ [% tx("Authorized values for category {category_name}", { category_name = category_name }) | html %] › > [% END %] > [% IF ( action_add_category ) %] > [% t("New category") | html %] › > [% END %] >- [% IF ( action_modify || action_add_value ) %] >- [% tx("Authorized values for category {category_name}", { category_name = category_name }) | html %] › >- [% END %] >- [% END %] >+ >+ [% ELSIF ( loop || searchfield ) %] >+ [% tx("Authorized values for category {category_name}", { category_name = category.category_name }) | html %] › >+ [% END # /IF op == 'add_form' %] >+ > [% t("Authorized values") | html %] › > [% t("Administration") | html %] › > [% t("Koha") | html %] >-- >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 34381
:
154627
|
154635
|
154759