overleaf/services/web/app/views/general/400.pug
Alf Eaton 0d349aa4b1 Call buildCssPath with empty string for default template (#3594)
* Call buildCssPath with empty string for default template

Call buildCssPath with an empty string instead of null for the default template

* Remove unused options argument

This means we can also remove the empty strings for the themeModifier arg,
instead passing undefined, to get the default arg

GitOrigin-RevId: 78cd14ae7ab9d58f66c27cb54477d24b4bd494c7
2021-01-28 03:04:52 +00:00

28 lines
905 B
Text

doctype html
html.full-height(itemscope, itemtype='http://schema.org/Product')
head
title Something went wrong
link(rel="icon", href="/favicon.ico")
if buildCssPath
link(rel="stylesheet", href=buildCssPath())
body.full-height
.content.content-alt.full-height
.container.full-height
.error-container.full-height
.error-details
p.error-status I'm sorry, Dave. I'm afraid I can't do that.
p.error-description(ng-non-bindable) There was a problem with your latest request
if(message)
|: #{message}
|.
br
| Please go back and try again.
p.error-description(ng-non-bindable)
| If the problem persists, please contact us at
|
a(href="mailto:" + settings.adminEmail) #{settings.adminEmail}
| .
a.error-btn(href="javascript:history.back()") Back
|  
a.btn.btn-default(href="/") Home