From 662ae38fd95b30bb0d2e9dca69ea55e47aadb62e Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Tue, 12 Jun 2018 22:01:21 +0100 Subject: Update GitLab URL --- pysite/views/error_handlers/http_4xx.py | 2 +- pysite/views/error_handlers/http_5xx.py | 2 +- pysite/views/main/redirects/github.py | 2 +- pysite/views/main/redirects/gitlab.py | 2 +- pysite/views/wiki/edit.py | 2 +- templates/main/base.html | 2 +- templates/main/info/faq.html | 2 +- templates/main/info/resources.html | 2 +- templates/wiki/base.html | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pysite/views/error_handlers/http_4xx.py b/pysite/views/error_handlers/http_4xx.py index 1667adcf..731204f9 100644 --- a/pysite/views/error_handlers/http_4xx.py +++ b/pysite/views/error_handlers/http_4xx.py @@ -26,6 +26,6 @@ class Error400View(ErrorView): return self.render( "errors/error.html", code=error.code, req=request, error_title=error_desc, error_message=f"{error_desc} If you believe we have made a mistake, please " - "" + "" "open an issue on our GitLab." ), error.code diff --git a/pysite/views/error_handlers/http_5xx.py b/pysite/views/error_handlers/http_5xx.py index c9ffa007..489eb5e5 100644 --- a/pysite/views/error_handlers/http_5xx.py +++ b/pysite/views/error_handlers/http_5xx.py @@ -36,6 +36,6 @@ class Error500View(ErrorView): "errors/error.html", code=error.code, req=request, error_title=error_desc, 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" + "file an issue on our" " GitLab." ), error.code diff --git a/pysite/views/main/redirects/github.py b/pysite/views/main/redirects/github.py index 816d165f..9e9c0cb8 100644 --- a/pysite/views/main/redirects/github.py +++ b/pysite/views/main/redirects/github.py @@ -4,5 +4,5 @@ from pysite.base_route import RedirectView class GitHubView(RedirectView): path = "/github" name = "github" - page = "https://gitlab.com/discord-python/" + page = "https://gitlab.com/python-discord/" code = 302 diff --git a/pysite/views/main/redirects/gitlab.py b/pysite/views/main/redirects/gitlab.py index eda0e179..4b2b60b4 100644 --- a/pysite/views/main/redirects/gitlab.py +++ b/pysite/views/main/redirects/gitlab.py @@ -4,5 +4,5 @@ from pysite.base_route import RedirectView class GitLabView(RedirectView): path = "/gitlab" name = "gitlab" - page = "https://gitlab.com/discord-python/" + page = "https://gitlab.com/python-discord/" code = 302 diff --git a/pysite/views/wiki/edit.py b/pysite/views/wiki/edit.py index cc121cc6..5f0129c2 100644 --- a/pysite/views/wiki/edit.py +++ b/pysite/views/wiki/edit.py @@ -156,7 +156,7 @@ class EditView(RouteView, DBMixin): headers = { "Authorization": f"token {GITHUB_TOKEN}", - "User-Agent": "Discord Python Wiki (https://gitlab.com/discord-python)" + "User-Agent": "Discord Python Wiki (https://gitlab.com/python-discord)" } gist = requests.post("https://api.github.com/gists", diff --git a/templates/main/base.html b/templates/main/base.html index db7387b4..9c58fefa 100644 --- a/templates/main/base.html +++ b/templates/main/base.html @@ -47,7 +47,7 @@

This website uses Python and Flask, and was developed collaboratively on - GitLab. + GitLab.
For privacy & GDPR-related info, please see this page.

diff --git a/templates/main/info/faq.html b/templates/main/info/faq.html index fb5912f5..b9e4cf08 100644 --- a/templates/main/info/faq.html +++ b/templates/main/info/faq.html @@ -239,7 +239,7 @@ Python is a very versatile language, and a real-life application using it can take many forms. That said, we do plenty of Python development here ourselves. If you're curious about this question, then why not take a look at - our projects? + our projects?

diff --git a/templates/main/info/resources.html b/templates/main/info/resources.html index 991ecc8e..574d0bfb 100644 --- a/templates/main/info/resources.html +++ b/templates/main/info/resources.html @@ -19,7 +19,7 @@

This page is intended to be a listing of useful resources for beginner and experienced Python programmers alike. This page is generated from a JSON file - on GitLab - + on GitLab - if there's a great resource that you love and you don't see it on this page, feel free to submit a merge request!

diff --git a/templates/wiki/base.html b/templates/wiki/base.html index e6766aab..f9aa251e 100644 --- a/templates/wiki/base.html +++ b/templates/wiki/base.html @@ -208,7 +208,7 @@

This website uses Python and Flask, and was developed collaboratively on - GitLab. + GitLab.
For privacy & GDPR-related info, please see this page.

-- cgit v1.2.3