Bugzilla – Attachment 159183 Details for
Bug 34573
Inconsistencies in acquisitions modify vendor title tag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34573: Fix inconsistencies in acquisitions modify vendor title tag
Bug-34573-Fix-inconsistencies-in-acquisitions-modi.patch (text/plain), 2.05 KB, created by
David Nind
on 2023-11-21 23:13:51 UTC
(
hide
)
Description:
Bug 34573: Fix inconsistencies in acquisitions modify vendor title tag
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-11-21 23:13:51 UTC
Size:
2.05 KB
patch
obsolete
>From 4c726f8559040b52c5c7b1a6658094979de61e7a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 21 Nov 2023 13:48:42 +0000 >Subject: [PATCH] Bug 34573: Fix inconsistencies in acquisitions modify vendor > title tag > >This patch updates the vendor details template so that the title tag >correctly reflects whether the user is viewing the vendor or modifying >it. > >To test, apply the patch and go to Acquisitions. > >- Locate a vendor and view the details (supplier.pl?booksellerid=X) > - The title should read "Vendor X > Acquisitions > Koha" >- Edit the vendor. > - The title should read "Modify vendor X > Acquisitions > Koha" > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../intranet-tmpl/prog/en/modules/acqui/supplier.tt | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >index fae8f92e65..75822c4a15 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >@@ -146,7 +146,12 @@ > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title>[% FILTER collapse %] >- [% tx("Vendor {vendor}", { vendor = name }) | html %] › >+ [% IF ( enter ) %] >+ [% tx("Modify vendor {vendor}", { vendor = name }) | html %] >+ [% ELSE %] >+ [% tx("Vendor {vendor}", { vendor = name }) | html %] >+ [% END %] › >+ [% t("Acquisitions") | html %] › > [% t("Koha") | html %] > [% END %]</title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -168,7 +173,7 @@ > <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | uri %]">[% name | html %]</a> > [% END %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >- <span>Modify [% name | html %]</span> >+ <span>Modify vendor [% name | html %]</span> > [% END %] > [% ELSE %] > [% WRAPPER breadcrumb_item bc_active= 1 %] >-- >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 34573
:
159162
|
159183
|
159184
|
159435
|
159436
|
167540