[Patches] [PATCH] OPAC Translations Display Patch
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Fri Nov 4 19:54:36 NZDT 2011
From: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Thu, 27 Oct 2011 17:58:28 +0100
Subject: [PATCH] OPAC Translations Display Patch
---
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.5.4
More information about the Patches
mailing list