Bugzilla – Attachment 15987 Details for
Bug 9772
Displayed Norwegian chars correctly in the patron category dropdown on the Patrons page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9772 - Display Norwegian chars correctly in the patron category dropdown
Bug-9772---Display-Norwegian-chars-correctly-in-th.patch (text/plain), 2.45 KB, created by
Magnus Enger
on 2013-03-08 16:17:13 UTC
(
hide
)
Description:
Bug 9772 - Display Norwegian chars correctly in the patron category dropdown
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2013-03-08 16:17:13 UTC
Size:
2.45 KB
patch
obsolete
>From a3471d63ca08de560ffb17c2956700025e4f7af0 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@enger.priv.no> >Date: Fri, 8 Mar 2013 17:12:33 +0100 >Subject: [PATCH] Bug 9772 - Display Norwegian chars correctly in the patron > category dropdown >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To reproduce: >- Install Norwegian translation >- Run through the web installer in Norwegian, and make sure you choose > the optionl ("2-Valgfritt") patron_categories.sql data >- Log in and visit the "Patrons" page >- The dropdown should contain black diamonds with question marks instead > of the Norwegian chars æøå > >To test >- Apply the patch to the situation above >- Check the dropdown again - æøå should be displayed >- If you want to check with other interface languages than Norwegian, > remember to re-install the nb-NO translation after the patch has been > applied > >This feels slightly like curing the symptom instead of the disease, >alternative patches are welcome! >--- > .../prog/en/includes/patron-toolbar.inc | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc >index 374d388..8d36da3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc >@@ -4,7 +4,7 @@ > <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="icon-plus"></i> New patron <span class="caret"></span></button> > <ul class="dropdown-menu"> > [% IF ( AddPatronLists_categorycode ) %] >- [% FOREACH categorie IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% categorie.categorycode %]">[% categorie.description %]</a></li>[% END %] >+ [% FOREACH categorie IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% categorie.categorycode %]">[% categorie.description | html_entity %]</a></li>[% END %] > [% ELSE %] > <li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&category_type=A">Adult patron</a></li> > <li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&category_type=C">Child patron</a></li> >@@ -16,4 +16,4 @@ > </ul> > </div> > </div> >-[% END %] >\ No newline at end of file >+[% END %] >-- >1.7.9.5
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 9772
:
15987
|
16049
|
16490