mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02: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:
@@ -80,10 +80,7 @@ function initialize(webRouter, privateApiRouter, publicApiRouter) {
|
||||
webRouter.get(
|
||||
'*',
|
||||
expressify(
|
||||
SplitTestMiddleware.loadAssignmentsInLocals([
|
||||
'unified-navigation',
|
||||
'design-system-updates',
|
||||
])
|
||||
SplitTestMiddleware.loadAssignmentsInLocals(['design-system-updates'])
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -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()))
|
||||
|
||||
@@ -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()))
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
}
|
||||
|
||||
.page-header {
|
||||
margin-top: 60px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
.page-header {
|
||||
border-bottom: none;
|
||||
margin: 0;
|
||||
margin-top: 60px !important;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user