Bugzilla – Attachment 156011 Details for
Bug 34383
Inconsistencies in Patron attributes page titles, breadcrumbs, and header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34383: Fix inconsistencies in Patron attributes page titles, breadcrumbs, and header
Bug-34383-Fix-inconsistencies-in-Patron-attributes.patch (text/plain), 3.79 KB, created by
Katrin Fischer
on 2023-09-21 20:51:43 UTC
(
hide
)
Description:
Bug 34383: Fix inconsistencies in Patron attributes page titles, breadcrumbs, and header
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-09-21 20:51:43 UTC
Size:
3.79 KB
patch
obsolete
>From 1f7518465d4417994fe0cf575b91e31194c01534 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 18 Aug 2023 10:40:49 +0000 >Subject: [PATCH] Bug 34383: Fix inconsistencies in Patron attributes page > titles, breadcrumbs, and header > >This patch makes changes to the patron attribute types administration >template so that the page title, breadcrumb navigation, and page headers >are more consistent with each other and with other parts of Koha. > >To test, apply the patch and go to Administration -> Patron attribute >types. Test these versions of the page to confirm that the breadcrumbs >and page title are consistent with each other: > >- Main view >- New patron attribute type >- Edit patron attribute type >- Confirm deletion of attribute type > >Signed-off-by: Christian Nelson <christian.nelson@uwasa.fi> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/admin/patron-attr-types.tt | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >index 2129798b31..0251a18309 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >@@ -10,9 +10,9 @@ > <title>[% FILTER collapse %] > [% IF ( attribute_type_form ) %] > [% IF ( edit_attribute_type ) %] >- [% t("Modify patron attribute type") | html %] › >+ [% tx("Modify patron attribute type '{code}'", { code = attribute_type.code }) | html %] › > [% ELSE %] >- [% t("Add patron attribute type") | html %] › >+ [% t("New patron attribute type") | html %] › > [% END %] > [% END %] > [% IF ( delete_attribute_type_form ) %] >@@ -45,15 +45,15 @@ > [% IF ( attribute_type_form ) %] > [% WRAPPER breadcrumb_item bc_active= 1 %] > [% IF ( edit_attribute_type ) %] >- <span>Modify patron attribute type</span> >+ [% tx("Modify patron attribute type '{code}'", { code = attribute_type.code }) | html %] > [% ELSE %] >- <span>Add patron attribute type</span> >+ <span>New patron attribute type</span> > [% END %] > [% END %] > > [% ELSIF ( delete_attribute_type_form ) %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Confirm deletion of patron attribute type '[% code | html %]'</span> >+ [% tx("Confirm deletion of patron attribute type '{code}'", { code = code }) | html %] > [% END %] > > [% ELSE %] >@@ -75,9 +75,9 @@ > > [% IF ( attribute_type_form ) %] > [% IF ( edit_attribute_type ) %] >-<h1>Modify patron attribute type</h1> >+<h1>[% tx("Modify patron attribute type '{code}'", { code = attribute_type.code }) | html %]</h1> > [% ELSE %] >-<h1>Add patron attribute type</h1> >+<h1>New patron attribute type</h1> > [% END %] > [% IF ( duplicate_code_error ) %] > <div class="dialog message">Could not add patron attribute type "[% duplicate_code_error | html %]" >@@ -247,7 +247,9 @@ > > [% IF ( delete_attribute_type_form ) %] > <div class="dialog alert"> >- <h1>Confirm deletion of patron attribute type <span class="ex">'[% code | html %]' ([% description | html %])</span>?</h1> >+ <h1> >+ [% tx("Confirm deletion of patron attribute type '{code}' ({description})?", { code = code, description = description }) | html %] >+ </h1> > <form action="[% script_name | html %]" name="Aform" method="post"> > <input type="hidden" name="op" value="[% confirm_op | html %]" /> > <input type="hidden" name="code" value="[% code | 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 34383
:
154636
|
154652
| 156011