diff options
author | 2018-03-01 14:59:42 +0000 | |
---|---|---|
committer | 2018-03-01 15:00:03 +0000 | |
commit | cd17fbe9df35a9312c067374cf4c395ae0c7a09e (patch) | |
tree | 59cf35667f8124d3c44a15ff7f6d60e5975478a9 /pysite | |
parent | Darken background of muted error header (diff) |
Finish up #31 by adding links
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/views/error_handlers/http_4xx.py | 6 | ||||
-rw-r--r-- | pysite/views/error_handlers/http_5xx.py | 7 |
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 1417c1f6..884c3eb4 100644 --- a/pysite/views/error_handlers/http_4xx.py +++ b/pysite/views/error_handlers/http_4xx.py @@ -17,6 +17,6 @@ class Error400View(ErrorView): error_message=error_desc + " If you believe we have made a mistake, " "please open an issue " - "on our GitHub (" - "https://github.com" - "/discord-python/site/issues)."), error.code + "on our" + " <a href='https://github.com" + "/discord-python/site/issues'>GitHub</a>."), error.code diff --git a/pysite/views/error_handlers/http_5xx.py b/pysite/views/error_handlers/http_5xx.py index ecf4a35e..c1bc646e 100644 --- a/pysite/views/error_handlers/http_5xx.py +++ b/pysite/views/error_handlers/http_5xx.py @@ -19,7 +19,6 @@ class Error500View(ErrorView): "request, please try " "again later. " "If you believe we have made a mistake, " - "please open an issue " - "on our GitHub (" - "https://github.com" - "/discord-python/site/issues)."), error.code + "please file an issue on our" + " <a href='https://github.com" + "/discord-python/site/issues'>GitHub</a>."), error.code |