mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added ugly dropdown for testing
This commit is contained in:
parent
d047d44079
commit
03db0bc797
1 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,17 @@ nav.navbar.navbar-default
|
|||
a(href='/').navbar-brand
|
||||
|
||||
.navbar-collapse.collapse(collapse="navCollapsed")
|
||||
|
||||
.dropdown
|
||||
button.btn.btn-default.dropdown-toggle Lang
|
||||
span.caret
|
||||
ul.dropdown-menu
|
||||
li
|
||||
a(href="/?setLng=en-GB") british
|
||||
a(href="/?setLng=en-US") USA
|
||||
a(href="/?setLng=fr-FR") french
|
||||
|
||||
|
||||
ul.nav.navbar-nav.navbar-right
|
||||
each item in nav.header
|
||||
if ((item.only_when_logged_in && session && session.user) || (item.only_when_logged_out && (!session || !session.user)) || (!item.only_when_logged_out && !item.only_when_logged_in))
|
||||
|
|
Loading…
Reference in a new issue