Show english language name when hovering over language dropdown item
This commit is contained in:
parent
119443bbe8
commit
cfa71d7521
|
@ -110,7 +110,9 @@ $navActiveIndex = isset($navActiveIndex) ? (int) $navActiveIndex : 0;
|
||||||
<div class="dropdown-menu language-switcher" aria-labelledby="navbarDropdownLanguageChooser">
|
<div class="dropdown-menu language-switcher" aria-labelledby="navbarDropdownLanguageChooser">
|
||||||
<button name="lang" class="dropdown-item{if $lang->getLanguageCode() === $userlangcode} active{/if}"
|
<button name="lang" class="dropdown-item{if $lang->getLanguageCode() === $userlangcode} active{/if}"
|
||||||
n:foreach="$languageList as $lang"
|
n:foreach="$languageList as $lang"
|
||||||
n:attr="value => $lang->getLanguageCode()">{$lang->getLanguageNameNative()}</button>
|
n:attr="value => $lang->getLanguageCode(), title => $lang->getLanguageNameEnglish()">
|
||||||
|
{$lang->getLanguageNameNative()}
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue