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

59 lines
1.6 KiB
Text
Raw Normal View History

2014-07-25 09:14:27 -04:00
footer.site-footer
2014-06-06 12:47:52 -04:00
.container
.row
ul.col-md-7
2014-08-14 11:33:01 -04:00
if Object.keys(settings.i18n.subdomainLang).length > 1
2014-08-14 11:33:01 -04:00
li.dropdown.dropup.subdued
a.dropdown-toggle(
href="#",
data-toggle="dropdown",
aria-haspopup="true",
2014-08-14 11:33:01 -04:00
aria-expanded="false",
tooltip="#{translate('language')}"
)
img(src="/img/flags/24/#{currentLngCode}.png")
ul.dropdown-menu(role="menu")
2014-08-14 11:33:01 -04:00
li.dropdown-header #{translate("language")}
each subdomainDetails, subdomain in settings.i18n.subdomainLang
2014-08-21 12:58:25 -04:00
if !subdomainDetails.hide
li.lngOption
a.menu-indent(href=subdomainDetails.url+currentUrl)
img(src="/img/flags/24/#{subdomainDetails.lngCode}.png")
| #{translate(subdomainDetails.lngCode)}
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
2014-08-26 07:29:27 -04:00
| !{translate(item.text)}
ul.col-md-5.text-right
2014-06-20 16:35:42 -04:00
each item in nav.right_footer
li
if item.url
a(href=item.url, class=item.class) !{item.text}
2014-06-20 16:35:42 -04:00
else
| !{item.text}
2014-06-20 16:35:42 -04:00
//- li
//- a(href="http://www.twitter.com/sharelatex")
//- i.fa.fa-twitter-square
//- li
//- a(href="http://www.facebook.com/pages/ShareLaTeX/301671376556660")
//- i.fa.fa-facebook-square
//- li
//- a(href="https://plus.google.com/115074691861228882827", rel="publisher")
//- i.fa.fa-google-plus-square
//- li
//- a(href="https://github.com/sharelatex/sharelatex")
//- i.fa.fa-github-square