Bugzilla – Attachment 6088 Details for
Bug 7108
Lists of "Similar" languages break display across multiple lines in both Opac and Intranet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed-off patch
0001-SIGNED-OFF-Bug-7108-OPAC-Translations-Display-Patch.patch (text/plain), 2.94 KB, created by
Owen Leonard
on 2011-10-28 12:40:38 UTC
(
hide
)
Description:
Signed-off patch
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2011-10-28 12:40:38 UTC
Size:
2.94 KB
patch
obsolete
>From 6356a823d8727c7e2cf675205c36afd5fb50228b Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 27 Oct 2011 17:58:28 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 7108 - OPAC Translations Display Patch >Content-Type: text/plain; charset="utf-8" > >If multiple similar languages (i.e: fr-FR, fr-CS or en, en-GB) are installed >and the opaclanguagesdisplay preference is set to allow patrons to choose a >language then at each occurrence of a language with multiple options the >display is the selector splits across multiple lines breaking the display. > >http://bugs.koha-community.org/show_bug.cgi?id=7108 >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 4 ++++ > .../opac-tmpl/prog/en/includes/opac-bottom.inc | 8 +++++--- > 2 files changed, 9 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index 11c434f..898e0aa 100755 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -1448,6 +1448,10 @@ div#changelanguage li.yuimenuitem a.yuimenuitemlabel { > padding : 0; > } > >+div.lang{ >+ float:left; >+} >+ > #cartDetails,#cartUpdate,#holdDetails,#listsDetails { > background-color : #FFF; > border: 1px solid #739acf; >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc >index 59188ef..8e7bbfa 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac-bottom.inc >@@ -9,11 +9,12 @@ > <div id="changelanguage" class="ft"> > [% IF ( languages_loop && opaclanguagesdisplay ) %] > [% UNLESS ( one_language_enabled ) %] >- <strong>Languages: </strong> >+ <div class="lang"><strong>Languages: </strong></div> > [% FOREACH languages_loo IN languages_loop %] >+ <div class="lang"> > [% IF ( languages_loo.group_enabled ) %] > [% IF ( languages_loo.plural ) %] >- <a id="show[% languages_loo.rfc4646_subtag %]" class="sublangs more" href="#">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a> >+ <a id="show[% languages_loo.rfc4646_subtag %]" class="sublangs more" href="#">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a>[% UNLESS ( loop.last ) %] | [% END %] > <div id="sub[% languages_loo.rfc4646_subtag %]"> > <div class="bd"><ul> > [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %] >@@ -37,7 +38,8 @@ > [% END %] > [% END %] > [% END %] >- [% END %][% UNLESS ( loop.last ) %] | [% END %] >+ [% END %][% UNLESS ( loop.last || languages_loo.plural ) %] | [% END %] >+ </div> > [% END %] > [% END %] > [% END %] >-- >1.7.3 >
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 7108
:
6081
|
6082
| 6088 |
6092
|
6158