aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar JoeBanks13 <[email protected]>2018-03-01 15:51:39 +0000
committerGravatar JoeBanks13 <[email protected]>2018-03-01 15:51:39 +0000
commit3357695f3b93cfbff4965e00cbe110b8c481118e (patch)
tree4ad3b953cfca274f4c190020272756fcdcb2d535
parentChange color of window (diff)
Change link to enclose more text
-rw-r--r--pysite/views/error_handlers/http_4xx.py6
-rw-r--r--pysite/views/error_handlers/http_5xx.py7
2 files changed, 6 insertions, 7 deletions
diff --git a/pysite/views/error_handlers/http_4xx.py b/pysite/views/error_handlers/http_4xx.py
index 884c3eb4..c7457470 100644
--- a/pysite/views/error_handlers/http_4xx.py
+++ b/pysite/views/error_handlers/http_4xx.py
@@ -15,8 +15,6 @@ class Error400View(ErrorView):
return render_template("errors/error.html", code=error.code, req=request, error_title=error_desc,
error_message=error_desc +
- " If you believe we have made a mistake, "
- "please open an issue "
- "on our"
+ " If you believe we have made a mistake, please "
" <a href='https://github.com"
- "/discord-python/site/issues'>GitHub</a>."), error.code
+ "/discord-python/site/issues'>open an issue on our GitHub</a>."), error.code
diff --git a/pysite/views/error_handlers/http_5xx.py b/pysite/views/error_handlers/http_5xx.py
index c1bc646e..cbc5f97f 100644
--- a/pysite/views/error_handlers/http_5xx.py
+++ b/pysite/views/error_handlers/http_5xx.py
@@ -14,11 +14,12 @@ class Error500View(ErrorView):
error_desc = ERROR_DESCRIPTIONS.get(error.code, "We're not really sure what happened there, please try again.")
return render_template("errors/error.html", code=error.code, req=request, error_title=error_desc,
- error_message="An error occured while "
+ error_message="An error occurred while "
"processing this "
"request, please try "
"again later. "
"If you believe we have made a mistake, "
- "please file an issue on our"
+ "please "
" <a href='https://github.com"
- "/discord-python/site/issues'>GitHub</a>."), error.code
+ "/discord-python/site/issues'>file an issue on our GitHub"
+ "</a>."), error.code