overleaf-cep/services/web/app/views/general/500.pug
Jakob Ackermann 73ae6f480f [web] change status page URL to HTTPS everywhere (#26587)
* [web] change status page URL to HTTPS everywhere

Also open all links to the status page or admin email in a new tab.

* [server-ce] explicit protocol matching

Co-authored-by: Brian Gough <brian.gough@overleaf.com>

---------

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
GitOrigin-RevId: d7d12eef4efc737c5d70fc969c862acae9faf14c
2025-06-26 08:04:59 +00:00

29 lines
947 B
Text

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