mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1654 from sharelatex/ns-add-status-page
add status.overleaf.com to 500 page GitOrigin-RevId: 47988918a4c2ea83b2edbd9f850d65a0d2bcdf82
This commit is contained in:
parent
5d6a307234
commit
36d0e8e199
2 changed files with 11 additions and 1 deletions
|
@ -17,5 +17,13 @@ html.full-height(itemscope, itemtype='http://schema.org/Product')
|
||||||
)
|
)
|
||||||
.error-details
|
.error-details
|
||||||
p.error-status Something went wrong, sorry.
|
p.error-status Something went wrong, sorry.
|
||||||
p.error-description(ng-non-bindable) Our staff are probably looking into this, but if it continues, please contact us at #{settings.adminEmail}
|
p.error-description(ng-non-bindable) 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}
|
||||||
|
| .
|
||||||
a.error-btn(href="/") Home
|
a.error-btn(href="/") Home
|
|
@ -400,6 +400,8 @@ module.exports = settings =
|
||||||
|
|
||||||
adminEmail: process.env['ADMIN_EMAIL'] or "placeholder@example.com"
|
adminEmail: process.env['ADMIN_EMAIL'] or "placeholder@example.com"
|
||||||
|
|
||||||
|
statusPageUrl: process.env['OVERLEAF_STATUS_URL'] or "status.overleaf.com"
|
||||||
|
|
||||||
brandPrefix: process.env['BRAND_PREFIX'] or "sl-" # Set to 'ol-' for overleaf styles
|
brandPrefix: process.env['BRAND_PREFIX'] or "sl-" # Set to 'ol-' for overleaf styles
|
||||||
|
|
||||||
nav:
|
nav:
|
||||||
|
|
Loading…
Reference in a new issue