Bugzilla – Attachment 23122 Details for
Bug 11290
members-home.pl displays badly if using non english templates and have a utf8 char in categorycode description
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11290 : Fixing display problem on members-home.pl
PASSED-QA-Bug-11290--Fixing-display-problem-on-mem.patch (text/plain), 2.19 KB, created by
Katrin Fischer
on 2013-11-24 21:36:17 UTC
(
hide
)
Description:
[PASSED QA] Bug 11290 : Fixing display problem on members-home.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-11-24 21:36:17 UTC
Size:
2.19 KB
patch
obsolete
>From b7a00b0d06af27c32765ad7e7fd25fa0ce031b91 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chris@bigballofwax.co.nz> >Date: Sat, 23 Nov 2013 11:04:00 +1300 >Subject: [PATCH] [PASSED QA] Bug 11290 : Fixing display problem on > members-home.pl > >To test >1) In a fresh Koha, generate translation into XX >2) Select XX for the staff interface (i.e. enable it, and choose it) >3) Go to the Patrons page >4) Everything looks fine >5) In the admin page, create a patron category with any no-ASCII character. >6) Go back to the Patrons page, everything is broken >7) apply patch >8) regenerate translation >9) go back to the Patrons page, everything looks fine >10) switch to english it still looks fine > >Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> >Tried with ru-RU and fixes the problem. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Passes all tests and QA script. >Problem is also visible on untranslated templates changing >one of the sample category descriptions to include diacritics. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >index be49b95..eb02444 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc >@@ -67,8 +67,8 @@ > <p><label for="categorycode">Category: </label><select name="categorycode" id="categorycode"> > <option value="">Any</option>[% FOREACH categorie IN categories %] > [% IF ( categorie.selected ) %] >- <option value="[% categorie.categorycode %]" selected="selected">[% categorie.description %]</option>[% ELSE %] >- <option value="[% categorie.categorycode %]">[% categorie.description %]</option>[% END %] >+ <option value="[% categorie.categorycode %]" selected="selected">[% categorie.description |html_entity %]</option>[% ELSE %] >+ <option value="[% categorie.categorycode %]">[% categorie.description |html_entity %]</option>[% END %] > [% END %]</select></p> > [% END %] > </div> >-- >1.8.3.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 11290
:
23111
|
23116
| 23122