mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 19:33:41 -05:00
af78b914df
Remove unused Angular attributes from Pug templates GitOrigin-RevId: ab3ed4105ea02994924c6dd190dad65fff106c11
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
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
|
|
.row
|
|
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 |
|
|
|
|
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
|
|
if item.url
|
|
a(href=item.url, class=item.class, aria-label=item.label) !{item.text}
|
|
else
|
|
| !{item.text}
|