View | Details | Raw Unified | Return to bug 20155
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-langmenu.inc (-3 / +3 lines)
Lines 9-17 Link Here
9
                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
9
                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
10
                    [% IF ( sublanguages_loo.enabled ) %]
10
                    [% IF ( sublanguages_loo.enabled ) %]
11
                        [% IF ( sublanguages_loo.sublanguage_current ) %]
11
                        [% IF ( sublanguages_loo.sublanguage_current ) %]
12
                         <li role="presentation"> <a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]&nbsp;<i class="icon-ok"></i></a></li>
12
                         <li role="presentation"> <a href="#" tabindex="-1" role="menuitem">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]&nbsp;<i class="icon-ok"></i></a></li>
13
                        [% ELSE %]
13
                        [% ELSE %]
14
                        <li role="presentation"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"  tabindex="-1" role="menuitem" class="listmenulink"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]</a></li>
14
                        <li role="presentation"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"  tabindex="-1" role="menuitem"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]</a></li>
15
                        [% END %]
15
                        [% END %]
16
                    [% END # / IF sublanguages_loo.enabled %]
16
                    [% END # / IF sublanguages_loo.enabled %]
17
                [% END # / FOREACH sublanguages_loo %]
17
                [% END # / FOREACH sublanguages_loo %]
Lines 20-26 Link Here
20
                    [% IF ( languages_loo.current ) %]
20
                    [% IF ( languages_loo.current ) %]
21
                    <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]&nbsp;<i class="icon-ok"></i></a></li>
21
                    <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]&nbsp;<i class="icon-ok"></i></a></li>
22
                    [% ELSE %]
22
                    [% ELSE %]
23
                    <li role="presentation"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]"  tabindex="-1" role="menuitem" class="listmenulink">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a></li>
23
                    <li role="presentation"><a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]"  tabindex="-1" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a></li>
24
                    [% END %]
24
                    [% END %]
25
                [% END # / IF languages_loo.current %]
25
                [% END # / IF languages_loo.current %]
26
            [% END # / IF ( languages_loo.plural ) %]
26
            [% END # / IF ( languages_loo.plural ) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-5 / +5 lines)
Lines 95-114 Link Here
95
                                    [% UNLESS ( loggedinusername ) %]
95
                                    [% UNLESS ( loggedinusername ) %]
96
                                        [% IF Koha.Preference('casAuthentication') %]
96
                                        [% IF Koha.Preference('casAuthentication') %]
97
                                            [%# CAS authentication is too complicated for modal window %]
97
                                            [%# CAS authentication is too complicated for modal window %]
98
                                            <li><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a></li>
98
                                            <li><a class="login-link" href="/cgi-bin/koha/opac-user.pl">Log in to your account</a></li>
99
                                        [% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
99
                                        [% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
100
                                            <li><a href="/cgi-bin/koha/svc/auth/googleopenidconnect" role="button" data-toggle="modal">Log in to your account</a></li>
100
                                            <li><a class="login-link" href="/cgi-bin/koha/svc/auth/googleopenidconnect" role="button" data-toggle="modal">Log in to your account</a></li>
101
                                        [% ELSE %]
101
                                        [% ELSE %]
102
                                            <li><a href="/cgi-bin/koha/opac-user.pl" class="loginModal-trigger" role="button" data-toggle="modal">Log in to your account</a></li>
102
                                            <li><a href="/cgi-bin/koha/opac-user.pl" class="login-link loginModal-trigger" role="button" data-toggle="modal">Log in to your account</a></li>
103
                                        [% END %]
103
                                        [% END %]
104
                                    [% END %]
104
                                    [% END %]
105
                                    [% IF ( loggedinusername ) %]
105
                                    [% IF ( loggedinusername ) %]
106
                                        <li><p class="members navbar-text">Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></p></li>
106
                                        <li><p class="members navbar-text">Welcome, <a class="login-link" href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% USER_INFO.title %] [% USER_INFO.firstname %] [% USER_INFO.surname %]</span></a></p></li>
107
                                        <li class="divider-vertical"></li>
107
                                        <li class="divider-vertical"></li>
108
                                    [% END %]
108
                                    [% END %]
109
                                [% END %]
109
                                [% END %]
110
                                [% IF EnableOpacSearchHistory %]
110
                                [% IF EnableOpacSearchHistory %]
111
                                    <li><p class="navbar-text"><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout clearsh" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history">x</a>]</p></li>
111
                                    <li><p class="navbar-text"><a class="login-link" href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout clearsh" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history">x</a>]</p></li>
112
                                    <li class="divider-vertical"></li>
112
                                    <li class="divider-vertical"></li>
113
                                [% END %]
113
                                [% END %]
114
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
114
                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less (-3 / +6 lines)
Lines 70-75 a { Link Here
70
            color : #FFF;
70
            color : #FFF;
71
        }
71
        }
72
    }
72
    }
73
    &.login-link {
74
        color: #A6D8ED;
75
        font-weight: bold;
76
    }
73
}
77
}
74
78
75
.ui-widget-content a,
79
.ui-widget-content a,
Lines 184-197 td { Link Here
184
        color : #EEE;
188
        color : #EEE;
185
    }
189
    }
186
    a {
190
    a {
187
        color: #A6D8ED;
188
        font-weight: bold;
189
        &.logout {
191
        &.logout {
190
            color : #E8583C;
192
            color : #E8583C;
193
            font-weight: bold;
191
            padding : 0 .3em 0 .3em;
194
            padding : 0 .3em 0 .3em;
192
        }
195
        }
193
    }
196
    }
194
}
197
}
198
195
#koha_url p {
199
#koha_url p {
196
        color: #666666;
200
        color: #666666;
197
        float : right;
201
        float : right;
198
- 

Return to bug 20155