overleaf-cep/services/web/app/views/general/500.pug
Antoine Clausse 959562661f [web] Make Bootstrap 5 the default for new pages (#24079)
* Update layout-base.pug to treat missing `bootstrap5PageStatus` as enabled

* Set `bootstrap5PageStatus = 'disabled'` everywhere it's undefined

I found the files with `find . -name "*.pug" -type f -exec grep -l "block content" {} \; | xargs grep -L "bootstrap5PageStatus\|layout-website-redesign-boo
                        tstrap-5\|layout-website-redesign-cms-bootstrap-5" | sort`

GitOrigin-RevId: 8ecf2eedea032d96e4fba078fb0316a7a311b08a
2025-03-12 09:06:50 +00:00

24 lines
735 B
Text

extends ../layout/layout-no-js
block vars
- metadata = { title: 'Something went wrong' }
- bootstrap5PageStatus = 'disabled'
block body
body.full-height
main.content.content-alt.full-height#main-content
.container.full-height
.error-container.full-height
.error-details
p.error-status Something went wrong, sorry.
p.error-description Our staff are probably looking into this, but if it continues, please check our status page at
|
|
a(href="http://" + settings.statusPageUrl) #{settings.statusPageUrl}
|
| or contact us at
|
a(href="mailto:" + settings.adminEmail) #{settings.adminEmail}
| .
p.error-actions
a.error-btn(href="/") Home