overleaf/services/web/app/views/layout/footer.pug

43 lines
1.1 KiB
Text
Raw Normal View History

2014-07-25 09:14:27 -04:00
footer.site-footer
- var showLanguagePicker = Object.keys(settings.i18n.subdomainLang).length > 1
- var hasCustomLeftNav = nav.left_footer && nav.left_footer.length > 0
.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
if hasFeature('saas')
li © #{new Date().getFullYear()} Overleaf
else if !settings.nav.hide_powered_by
li
//- year of Server Pro release, static
| © 2024
|
a(href='https://www.overleaf.com/for/enterprises') Powered by Overleaf
if showLanguagePicker || hasCustomLeftNav
li
strong.text-muted |
if showLanguagePicker
include language-picker
if showLanguagePicker && hasCustomLeftNav
li
strong.text-muted |
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
| !{item.text}
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
li
2014-06-20 16:35:42 -04:00
if item.url
a(href=item.url, class=item.class, aria-label=item.label) !{item.text}
2014-06-20 16:35:42 -04:00
else
| !{item.text}