2014-08-13 18:06:15 -04:00
|
|
|
|
|
|
|
|
2014-07-25 09:14:27 -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
|
2019-02-20 13:20:45 -05:00
|
|
|
.site-footer-content.hidden-print
|
2014-06-06 12:47:52 -04:00
|
|
|
.row
|
2015-02-05 11:56:35 -05:00
|
|
|
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 |
|
|
|
|
|
|
|
|
if showLanguagePicker
|
2015-06-03 06:14:26 -04:00
|
|
|
li.dropdown.dropup.subdued(dropdown)
|
2014-08-14 10:42:31 -04:00
|
|
|
a.dropdown-toggle(
|
|
|
|
href="#",
|
2015-06-03 06:14:26 -04:00
|
|
|
dropdown-toggle,
|
2014-08-14 10:42:31 -04:00
|
|
|
data-toggle="dropdown",
|
|
|
|
aria-haspopup="true",
|
2014-08-14 11:33:01 -04:00
|
|
|
aria-expanded="false",
|
2018-11-15 12:21:45 -05:00
|
|
|
aria-label="Select " + translate('language')
|
2017-01-31 09:57:22 -05:00
|
|
|
tooltip=translate('language')
|
2014-08-14 11:33:01 -04:00
|
|
|
)
|
2021-10-06 07:23:58 -04:00
|
|
|
i.fa.fa-fw.fa-language
|
|
|
|
|
|
|
|
|
| #{settings.translatedLanguages[currentLngCode]}
|
2014-08-14 10:42:31 -04:00
|
|
|
|
2021-09-08 05:26:18 -04:00
|
|
|
ul.dropdown-menu
|
2014-08-14 11:33:01 -04:00
|
|
|
li.dropdown-header #{translate("language")}
|
2014-08-14 10:42:31 -04:00
|
|
|
each subdomainDetails, subdomain in settings.i18n.subdomainLang
|
2014-08-21 12:58:25 -04:00
|
|
|
if !subdomainDetails.hide
|
|
|
|
li.lngOption
|
2020-03-30 14:12:32 -04:00
|
|
|
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
|
|
|
|
2014-08-14 11:33:01 -04:00
|
|
|
each item in nav.left_footer
|
|
|
|
li
|
|
|
|
if item.url
|
2014-08-26 07:29:27 -04:00
|
|
|
a(href=item.url, class=item.class) !{translate(item.text)}
|
2014-08-14 11:33:01 -04:00
|
|
|
else
|
2020-10-12 06:25:46 -04:00
|
|
|
| !{item.text}
|
2014-08-13 11:04:49 -04:00
|
|
|
|
2015-02-05 11:56:35 -05:00
|
|
|
ul.col-md-3.text-right
|
2014-06-20 16:35:42 -04:00
|
|
|
each item in nav.right_footer
|
2021-09-08 05:26:18 -04:00
|
|
|
li
|
2014-06-20 16:35:42 -04:00
|
|
|
if item.url
|
2017-10-09 06:59:03 -04:00
|
|
|
a(href=item.url, class=item.class, aria-label=item.label) !{item.text}
|
2014-06-20 16:35:42 -04:00
|
|
|
else
|
|
|
|
| !{item.text}
|