mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
e948de3234
[web] fix language picker tooltip on pages that depends on layout-marketing.pug GitOrigin-RevId: e11d2a2c4b344b7f3f2837397b089b722d433cc9
24 lines
830 B
Text
24 lines
830 B
Text
li.dropdown.dropup.subdued(dropdown).language-picker
|
|
a.dropdown-toggle#language-picker-toggle(
|
|
href="#",
|
|
dropdown-toggle,
|
|
data-ol-lang-selector-tooltip,
|
|
data-toggle="dropdown",
|
|
role="button"
|
|
aria-haspopup="true",
|
|
aria-expanded="false",
|
|
aria-label="Select " + translate('language'),
|
|
tooltip=translate('language')
|
|
title=translate('language')
|
|
)
|
|
i.fa.fa-fw.fa-language
|
|
|
|
|
| #{settings.translatedLanguages[currentLngCode]}
|
|
|
|
ul.dropdown-menu(role="menu" aria-labelledby="language-picker-toggle")
|
|
li.dropdown-header #{translate("language")}
|
|
each subdomainDetails, subdomain in settings.i18n.subdomainLang
|
|
if !subdomainDetails.hide
|
|
li.lngOption
|
|
a.menu-indent(href=subdomainDetails.url+currentUrlWithQueryParams role="menuitem")
|
|
| #{settings.translatedLanguages[subdomainDetails.lngCode]}
|