Remove footer and rightside of the navbar on the interstitial payment page (#8407)

Co-authored with Thomas Mees (thomas.mees@overleaf.com)

GitOrigin-RevId: 270e11f0cfd09830e5c7600d636b8ebbfc6049a2
This commit is contained in:
M Fahru 2022-06-14 05:37:33 -04:00 committed by Copybot
parent 0204d7947f
commit 1070dd53f3
2 changed files with 116 additions and 111 deletions

View file

@ -1,6 +1,7 @@
nav.navbar.navbar-default.navbar-main
.container-fluid
.navbar-header
if (typeof(suppressNavbarRight) == "undefined")
button.navbar-toggle(ng-init="navCollapsed = true", ng-click="navCollapsed = !navCollapsed", ng-class="{active: !navCollapsed}", aria-label="Toggle " + translate('navigation'))
i.fa.fa-bars(aria-hidden="true")
if settings.nav.custom_logo
@ -13,6 +14,8 @@ nav.navbar.navbar-default.navbar-main
- var canDisplayAdminMenu = hasAdminAccess()
- var canDisplayAdminRedirect = canRedirectToAdminDomain()
- var canDisplaySplitTestMenu = hasFeature('saas') && (canDisplayAdminMenu || (getSessionUser() && getSessionUser().staffAccess && (getSessionUser().staffAccess.splitTestMetrics || getSessionUser().staffAccess.splitTestManagement)))
if (typeof(suppressNavbarRight) == "undefined")
.navbar-collapse.collapse(collapse="navCollapsed")
ul.nav.navbar-nav.navbar-right
if (canDisplayAdminMenu || canDisplayAdminRedirect || canDisplaySplitTestMenu)

View file

@ -1,4 +1,4 @@
extends ../layout-marketing
extends ../layout
include ./plans-marketing/_mixins
include ./plans-marketing/_tables
@ -6,6 +6,8 @@ include ./plans-marketing/v2/_mixins
block vars
- entrypoint = 'pages/user/subscription/plans-v2/plans-v2-main'
- var suppressFooter = true
- var suppressNavbarRight = true
block append meta
meta(name="ol-recommendedCurrency" content=recommendedCurrency)