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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead-langmenu.inc (-5 / +4 lines)
Lines 11-26 Link Here
11
                                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
11
                                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
12
                                    [% IF ( sublanguages_loo.enabled ) %]
12
                                    [% IF ( sublanguages_loo.enabled ) %]
13
                                        [% IF ( sublanguages_loo.sublanguage_current ) %]
13
                                        [% IF ( sublanguages_loo.sublanguage_current ) %]
14
                                            <a class="dropdown-item" <a href="#" tabindex="-1" role="menuitem">[% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %]&nbsp;<i class="fa fa-check" aria-hidden="true"></i></a>
14
                                            <a class="dropdown-item" href="#" tabindex="-1" role="menuitem">[% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %]&nbsp;<i class="fa fa-check" aria-hidden="true"></i></a>
15
                                        [% ELSE %]
15
                                        [% ELSE %]
16
                                            <a class="dropdown-item"<a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag | uri %]"  tabindex="-1" role="menuitem"> [% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %]</a>
16
                                            <a class="dropdown-item" href="/cgi-bin/koha/opac-changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag | uri %]"  tabindex="-1" role="menuitem"> [% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %]</a>
17
                                        [% END # /IF ( sublanguages_loo.sublanguage_current ) %]
17
                                        [% END # /IF ( sublanguages_loo.sublanguage_current ) %]
18
                                    [% END # / IF sublanguages_loo.enabled %]
18
                                    [% END # / IF sublanguages_loo.enabled %]
19
                                [% END # / FOREACH sublanguages_loo %]
19
                                [% END # / FOREACH sublanguages_loo %]
20
                            [% ELSE %]
20
                            [% ELSE %]
21
                                [% IF ( languages_loo.group_enabled ) %]
21
                                [% IF ( languages_loo.group_enabled ) %]
22
                                    [% IF ( languages_loo.current ) %]
22
                                    [% IF ( languages_loo.current ) %]
23
                                        <a class="dropdown-item"<a href="#" tabindex="-1" class="menu-inactive" role="menuitem">
23
                                        <a class="dropdown-item" href="#" tabindex="-1" class="menu-inactive" role="menuitem">
24
                                            [% IF ( languages_loo.native_description ) %]
24
                                            [% IF ( languages_loo.native_description ) %]
25
                                                [% languages_loo.native_description | html %]
25
                                                [% languages_loo.native_description | html %]
26
                                            [% ELSE %]
26
                                            [% ELSE %]
Lines 28-34 Link Here
28
                                            [% END %]&nbsp;<i class="fa fa-check" aria-hidden="true"></i>
28
                                            [% END %]&nbsp;<i class="fa fa-check" aria-hidden="true"></i>
29
                                        </a>
29
                                        </a>
30
                                    [% ELSE %]
30
                                    [% ELSE %]
31
                                        <a class="dropdown-item"<a href="/cgi-bin/koha/opac-changelanguage.pl?language=[% languages_loo.rfc4646_subtag | uri %]"  tabindex="-1" role="menuitem">
31
                                        <a class="dropdown-item" href="/cgi-bin/koha/opac-changelanguage.pl?language=[% languages_loo.rfc4646_subtag | uri %]"  tabindex="-1" role="menuitem">
32
                                            [% IF ( languages_loo.native_description ) %]
32
                                            [% IF ( languages_loo.native_description ) %]
33
                                                [% languages_loo.native_description | html %]
33
                                                [% languages_loo.native_description | html %]
34
                                            [% ELSE %]
34
                                            [% ELSE %]
35
- 

Return to bug 27781