Bugzilla – Attachment 92587 Details for
Bug 23536
Remove obsolete category markup from patron entry
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23536: Remove obsolete category markup from patron entry
Bug-23536-Remove-obsolete-category-markup-from-pat.patch (text/plain), 3.20 KB, created by
Owen Leonard
on 2019-09-04 17:09:52 UTC
(
hide
)
Description:
Bug 23536: Remove obsolete category markup from patron entry
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2019-09-04 17:09:52 UTC
Size:
3.20 KB
patch
obsolete
>From f1bb4ddc2260b5e07345b79a72b5f7fe8be08e26 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 4 Sep 2019 17:04:33 +0000 >Subject: [PATCH] Bug 23536: Remove obsolete category markup from patron entry > >This patch removes some obsolete markup from the patron entry template >(memberentrygen.tt). The old markup was necessary in a long-gone version >of Koha where it was possible to add patrons using built-in categories >instead of defining your own. > >To test, apply the patch and test the process of adding or editing >patrons. You should see the patron category displayed correctly in the >page title, breadcrumbs, and main heading. >--- > .../prog/en/modules/members/memberentrygen.tt | 31 +++------------------- > 1 file changed, 3 insertions(+), 28 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 954a8e52203..2b4d613f0f8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -13,15 +13,7 @@ > [% ELSE %] Modify patron > [% END %] > [% INCLUDE 'patron-title.inc' no_html = 1 %] >- ([% IF categoryname %] >- [% categoryname | html %] >- [% ELSE %] >- [% IF ( I ) %] Organization [% END %] >- [% IF ( A ) %] Adult [% END %] >- [% IF ( C ) %] Child [% END %] >- [% IF ( P ) %] Professional [% END %] >- [% IF ( S ) %] Staff [% END %] >- [% END %]) >+ [% IF categoryname %]([% categoryname | html %])[% END %] > [% END %] > </title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -49,15 +41,7 @@ > [% ELSE %] > Modify patron > [% END %] >- ([% IF ( categoryname ) %] >- [% categoryname | html %] >- [% ELSE %] >- [% IF ( I ) %] Organization [% END %] >- [% IF ( A ) %] Adult [% END %] >- [% IF ( C ) %] Child [% END %] >- [% IF ( P ) %] Professional [% END %] >- [% IF ( S ) %] Staff [% END %] >- [% END %]) >+ [% IF categoryname %]([% categoryname | html %])[% END %] > </strong> > [% END # /UNLESS blocking_error %] > </div> <!-- /#breadcrumbs --> >@@ -97,16 +81,7 @@ > [% END %] > > [% INCLUDE 'patron-title.inc' %] >- >- ([% IF ( categoryname ) %] >- [% categoryname | html %] >- [% ELSE %] >- [% IF ( I ) %] Organization [% END %] >- [% IF ( A ) %] Adult [% END %] >- [% IF ( C ) %] Child [% END %] >- [% IF ( P ) %] Professional [% END %] >- [% IF ( S ) %] Staff [% END %] >- [% END %]) >+ [% IF categoryname %]([% categoryname | html %])[% END %] > </h1> > > [% IF quickadd && opadd && !check_member %] >-- >2.11.0
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 23536
:
92587
|
92663
|
99769
|
99827