added ugly list of available subdomains

This commit is contained in:
Henry Oswald 2014-08-13 16:04:49 +01:00
parent d033238efc
commit 7389943089
2 changed files with 15 additions and 2 deletions

View file

@ -9,7 +9,17 @@ footer.site-footer
else
| !{item.text}
ul.col-md-6
ul.col-md-3
each subdomainDetails, subdomain in settings.i18n.subdomainLang
li
a(href=subdomainDetails.url+currentUrl)
p #{translate(subdomainDetails.lngCode)}
img(src="/img/flags/32/#{subdomainDetails.lngCode}.png")
ul.col-md-3
each item in nav.right_footer
li
if item.url
@ -17,6 +27,9 @@ footer.site-footer
else
| !{item.text}
//- li
//- a(href="http://www.twitter.com/sharelatex")
//- i.fa.fa-twitter-square

View file

@ -4,7 +4,7 @@
.container
.row
.col-md-12
a(href=recomendSubdomain.url) #{translate("click_here_to_view_sl_in_lng", {lngName:translate(recomendSubdomain.lngCode)})}
a(href=recomendSubdomain.url+currentUrl) #{translate("click_here_to_view_sl_in_lng", {lngName:translate(recomendSubdomain.lngCode)})}
img(src="/img/flags/32/#{recomendSubdomain.lngCode}.png")
button.close
span(aria-hidden="true", ng-click="dismiss()") ×