mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 02:13:35 -05:00
Merge pull request #10830 from overleaf/jel-remove-test-show-unified-navigation
[web] Remove `unified-navigation` references in code GitOrigin-RevId: bbcea3c8013936a8e5eaed18e6121344a3c05e9a
This commit is contained in:
parent
9801907508
commit
c7a10558bf
5 changed files with 5 additions and 7 deletions
|
@ -80,10 +80,7 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
|
||||||
webRouter.get(
|
webRouter.get(
|
||||||
'*',
|
'*',
|
||||||
expressify(
|
expressify(
|
||||||
SplitTestMiddleware.loadAssignmentsInLocals([
|
SplitTestMiddleware.loadAssignmentsInLocals(['design-system-updates'])
|
||||||
'unified-navigation',
|
|
||||||
'design-system-updates',
|
|
||||||
])
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ nav.navbar.navbar-default.navbar-main
|
||||||
a(href="/admin/survey") Manage Surveys
|
a(href="/admin/survey") Manage Surveys
|
||||||
|
|
||||||
// loop over header_extras
|
// loop over header_extras
|
||||||
each item in ((splitTestVariants && (splitTestVariants['unified-navigation'] === 'show-unified-navigation')) ? nav.header_extras_unified : nav.header_extras)
|
each item in nav.header_extras
|
||||||
-
|
-
|
||||||
if ((item.only_when_logged_in && getSessionUser())
|
if ((item.only_when_logged_in && getSessionUser())
|
||||||
|| (item.only_when_logged_out && (!getSessionUser()))
|
|| (item.only_when_logged_out && (!getSessionUser()))
|
||||||
|
|
|
@ -45,7 +45,7 @@ nav.navbar.navbar-default.navbar-main
|
||||||
a(href="/admin/survey") Manage Surveys
|
a(href="/admin/survey") Manage Surveys
|
||||||
|
|
||||||
// loop over header_extras
|
// loop over header_extras
|
||||||
each item in ((splitTestVariants && (splitTestVariants['unified-navigation'] === 'show-unified-navigation')) ? nav.header_extras_unified : nav.header_extras)
|
each item in nav.header_extras
|
||||||
-
|
-
|
||||||
if ((item.only_when_logged_in && getSessionUser())
|
if ((item.only_when_logged_in && getSessionUser())
|
||||||
|| (item.only_when_logged_out && (!getSessionUser()))
|
|| (item.only_when_logged_out && (!getSessionUser()))
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-header {
|
.page-header {
|
||||||
margin-top: 60px;
|
margin-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
.page-header {
|
.page-header {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
margin-top: 60px !important;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue