@@ -, +, @@
language menu
- Install and enable more than one translation.
- Set the OpacLangSelectorMode to either "top" or "both top and footer."
- View the OPAC's header menu and confirm that the links and menus look
correct whether or not a user is logged in.
---
.../opac-tmpl/bootstrap/en/includes/masthead-langmenu.inc | 6 +++---
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 10 +++++-----
koha-tmpl/opac-tmpl/bootstrap/less/opac.less | 8 ++++++--
3 files changed, 14 insertions(+), 10 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-langmenu.inc
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-langmenu.inc
@@ -9,9 +9,9 @@
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
[% IF ( sublanguages_loo.enabled ) %]
[% IF ( sublanguages_loo.sublanguage_current ) %]
-
+ [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]
[% ELSE %]
-
+ [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]
[% END %]
[% END # / IF sublanguages_loo.enabled %]
[% END # / FOREACH sublanguages_loo %]
@@ -20,7 +20,7 @@
[% IF ( languages_loo.current ) %]
[% ELSE %]
-
+ [% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]
[% END %]
[% END # / IF languages_loo.current %]
[% END # / IF ( languages_loo.plural ) %]
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
@@ -95,20 +95,20 @@
[% UNLESS ( loggedinusername ) %]
[% IF Koha.Preference('casAuthentication') %]
[%# CAS authentication is too complicated for modal window %]
- Log in to your account
+ Log in to your account
[% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
- Log in to your account
+ Log in to your account
[% ELSE %]
- Log in to your account
+ Log in to your account
[% END %]
[% END %]
[% IF ( loggedinusername ) %]
- Welcome, [% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]
+ Welcome, [% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]
[% END %]
[% END %]
[% IF EnableOpacSearchHistory %]
- Search history [x]
+ Search history [x]
[% END %]
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
--- a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less
+++ a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less
@@ -70,6 +70,10 @@ a {
color : #FFF;
}
}
+ &.login-link {
+ color: #A6D8ED;
+ font-weight: bold;
+ }
}
.ui-widget-content a,
@@ -184,14 +188,14 @@ td {
color : #EEE;
}
a {
- color: #A6D8ED;
- font-weight: bold;
&.logout {
color : #E8583C;
+ font-weight: bold;
padding : 0 .3em 0 .3em;
}
}
}
+
#koha_url p {
color: #666666;
float : right;
--