mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #18437 from overleaf/rd-bs5-project-dashboard
Enable Bootstrap 5 to load for the project dashboard page GitOrigin-RevId: 4aa74bd4fde98192b2e5b322bb777a8c8beae237
This commit is contained in:
parent
8d25fb1131
commit
a0334898db
2 changed files with 7 additions and 0 deletions
|
@ -440,6 +440,10 @@ async function projectListPage(req, res, next) {
|
|||
)
|
||||
}
|
||||
|
||||
// Get the user's assignment for the Bootstrap 5 split test, which populates
|
||||
// splitTestVariants with a value for 'bootstrap-5' and allows Pug to read it
|
||||
await SplitTestHandler.promises.getAssignment(req, res, 'bootstrap-5')
|
||||
|
||||
res.render('project/list-react', {
|
||||
title: 'your_projects',
|
||||
usersBestSubscription,
|
||||
|
|
|
@ -6,6 +6,9 @@ block entrypointVar
|
|||
block vars
|
||||
- var suppressNavContentLinks = true
|
||||
|
||||
block vars
|
||||
- bootstrap5EnabledPage = true
|
||||
|
||||
block append meta
|
||||
meta(name="ol-usersBestSubscription" data-type="json" content=usersBestSubscription)
|
||||
meta(name="ol-notifications" data-type="json" content=notifications)
|
||||
|
|
Loading…
Reference in a new issue