2021-09-08 05:26:18 -04:00
|
|
|
footer.site-footer
|
2021-10-06 07:23:58 -04:00
|
|
|
- var showLanguagePicker = Object.keys(settings.i18n.subdomainLang).length > 1
|
|
|
|
- var hasCustomLeftNav = nav.left_footer && nav.left_footer.length > 0
|
2021-09-08 05:26:18 -04:00
|
|
|
.site-footer-content.hidden-print
|
|
|
|
.row
|
|
|
|
ul.col-md-9
|
2021-10-06 07:23:58 -04:00
|
|
|
if hasFeature('saas')
|
|
|
|
li © #{new Date().getFullYear()} Overleaf
|
|
|
|
else if !settings.nav.hide_powered_by
|
|
|
|
li
|
|
|
|
| © 2021
|
|
|
|
|
|
|
|
|
a(href='https://www.overleaf.com/for/enterprises') Powered by Overleaf
|
|
|
|
|
|
|
|
if showLanguagePicker || hasCustomLeftNav
|
|
|
|
li
|
|
|
|
strong.text-muted |
|
2021-09-08 05:26:18 -04:00
|
|
|
|
2021-10-06 07:23:58 -04:00
|
|
|
if showLanguagePicker
|
2021-09-08 05:26:18 -04:00
|
|
|
li.dropdown.dropup.subdued
|
|
|
|
a.dropdown-toggle(
|
2021-10-06 07:23:58 -04:00
|
|
|
href="#",
|
2021-09-08 05:26:18 -04:00
|
|
|
data-toggle="dropdown",
|
|
|
|
aria-haspopup="true",
|
|
|
|
aria-expanded="false",
|
|
|
|
aria-label="Select " + translate('language'),
|
|
|
|
data-ol-lang-selector-tooltip,
|
|
|
|
title=translate('language')
|
|
|
|
)
|
2021-10-06 07:23:58 -04:00
|
|
|
i.fa.fa-fw.fa-language
|
|
|
|
|
|
|
|
|
| #{settings.translatedLanguages[currentLngCode]}
|
2021-09-08 05:26:18 -04:00
|
|
|
|
|
|
|
ul.dropdown-menu(role="menu")
|
|
|
|
li.dropdown-header #{translate("language")}
|
|
|
|
each subdomainDetails, subdomain in settings.i18n.subdomainLang
|
|
|
|
if !subdomainDetails.hide
|
|
|
|
li.lngOption
|
|
|
|
a.menu-indent(href=subdomainDetails.url+currentUrlWithQueryParams)
|
2021-10-06 07:23:58 -04:00
|
|
|
| #{settings.translatedLanguages[subdomainDetails.lngCode]}
|
|
|
|
|
|
|
|
if showLanguagePicker && hasCustomLeftNav
|
|
|
|
li
|
|
|
|
strong.text-muted |
|
|
|
|
|
2021-09-08 05:26:18 -04:00
|
|
|
each item in nav.left_footer
|
|
|
|
li
|
|
|
|
if item.url
|
|
|
|
a(href=item.url, class=item.class) !{translate(item.text)}
|
|
|
|
else
|
|
|
|
| !{item.text}
|
|
|
|
|
|
|
|
ul.col-md-3.text-right
|
|
|
|
|
|
|
|
each item in nav.right_footer
|
|
|
|
li(ng-non-bindable)
|
|
|
|
if item.url
|
|
|
|
a(href=item.url, class=item.class, aria-label=item.label) !{item.text}
|
|
|
|
else
|
|
|
|
| !{item.text}
|