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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc (-2 / +6 lines)
Lines 71-77 Link Here
71
                        <div id="members">
71
                        <div id="members">
72
                            <ul class="nav pull-right">
72
                            <ul class="nav pull-right">
73
                                [% UNLESS ( loggedinusername ) %]
73
                                [% UNLESS ( loggedinusername ) %]
74
                                    <li><a href="/cgi-bin/koha/opac-user.pl" class="loginModal-trigger" role="button" data-toggle="modal">Log in to your account</a></li>
74
                                    [% IF Koha.Preference('casAuthentication') %]
75
                                        [%# CAS authentication is too complicated for modal window %]
76
                                        <li><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a></li>
77
                                    [% ELSE %]
78
                                        <li><a href="/cgi-bin/koha/opac-user.pl" class="loginModal-trigger" role="button" data-toggle="modal">Log in to your account</a></li>
79
                                    [% END %]
75
                                [% END %]
80
                                [% END %]
76
                                [% IF ( loggedinusername ) %]
81
                                [% IF ( loggedinusername ) %]
77
                                    <li><p class="members navbar-text">Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% FOREACH USER_INF IN USER_INFO %][% USER_INF.title %] [% USER_INF.firstname %] [% USER_INF.surname %][% END %]</span></a></p></li>
82
                                    <li><p class="members navbar-text">Welcome, <a href="/cgi-bin/koha/opac-user.pl"><span class="loggedinusername">[% FOREACH USER_INF IN USER_INFO %][% USER_INF.title %] [% USER_INF.firstname %] [% USER_INF.surname %][% END %]</span></a></p></li>
78
- 

Return to bug 12046