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:
Jessica Lawshe 2022-12-12 09:49:34 -06:00 committed by Copybot
parent 9801907508
commit c7a10558bf
5 changed files with 5 additions and 7 deletions

View file

@ -80,10 +80,7 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
webRouter.get(
'*',
expressify(
SplitTestMiddleware.loadAssignmentsInLocals([
'unified-navigation',
'design-system-updates',
])
SplitTestMiddleware.loadAssignmentsInLocals(['design-system-updates'])
)
)

View file

@ -63,7 +63,7 @@ nav.navbar.navbar-default.navbar-main
a(href="/admin/survey") Manage Surveys
// 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())
|| (item.only_when_logged_out && (!getSessionUser()))

View file

@ -45,7 +45,7 @@ nav.navbar.navbar-default.navbar-main
a(href="/admin/survey") Manage Surveys
// 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())
|| (item.only_when_logged_out && (!getSessionUser()))

View file

@ -47,7 +47,7 @@
}
.page-header {
margin-top: 60px;
margin-top: 0px;
}
/*

View file

@ -8,6 +8,7 @@
.page-header {
border-bottom: none;
margin: 0;
margin-top: 60px !important;
padding: 0;
text-align: center;
}