Bugzilla – Attachment 99827 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.38 KB, created by
Katrin Fischer
on 2020-02-29 20:39:25 UTC
(
hide
)
Description:
Bug 23536: Remove obsolete category markup from patron entry
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-02-29 20:39:25 UTC
Size:
3.38 KB
patch
obsolete
>From ca26516132955a71b213e8a248d10e356959e0b9 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 28 Feb 2020 15:00:40 +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. > >Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/members/memberentrygen.tt | 30 +++------------------- > 1 file changed, 3 insertions(+), 27 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 84a6a6575b..d4db2e37b3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -17,15 +17,7 @@ > 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' %] >@@ -53,15 +45,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 %] > </div> <!-- /#breadcrumbs --> >@@ -99,15 +83,7 @@ > Modify patron > [% 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