overleaf/services/web/app/views/layout/footer.jade
2016-06-15 15:35:03 +01:00

48 lines
1.3 KiB
Text

footer.site-footer
.container
.row
ul.col-md-9
if Object.keys(settings.i18n.subdomainLang).length > 1
li.dropdown.dropup.subdued(dropdown)
a.dropdown-toggle(
href="#",
dropdown-toggle,
data-toggle="dropdown",
aria-haspopup="true",
aria-expanded="false",
tooltip="#{translate('language')}"
)
img(src="/img/flags/24/#{currentLngCode}.png")
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+currentUrl)
img(src="/img/flags/24/#{subdomainDetails.lngCode}.png")
| #{translate(subdomainDetails.lngCode)}
each item in nav.left_footer
li
if item.url
a(href=item.url, class=item.class) !{translate(item.text)}
else
| !{translate(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) !{item.text}
else
| !{item.text}
li
a(href="https://heapanalytics.com/?utm_source=badge")
img(style="width:108px;height:41px" src="//heapanalytics.com/img/badgeLight.png" alt="Heap | Mobile and Web Analytics")