diff options
author | 2018-06-12 22:01:21 +0100 | |
---|---|---|
committer | 2018-06-12 22:01:21 +0100 | |
commit | 662ae38fd95b30bb0d2e9dca69ea55e47aadb62e (patch) | |
tree | 3100e487473ccf9882eafadb2e66fc7b32e97cf5 | |
parent | [Jams] User ID and avatar on approvals page (diff) |
Update GitLab URL
-rw-r--r-- | pysite/views/error_handlers/http_4xx.py | 2 | ||||
-rw-r--r-- | pysite/views/error_handlers/http_5xx.py | 2 | ||||
-rw-r--r-- | pysite/views/main/redirects/github.py | 2 | ||||
-rw-r--r-- | pysite/views/main/redirects/gitlab.py | 2 | ||||
-rw-r--r-- | pysite/views/wiki/edit.py | 2 | ||||
-rw-r--r-- | templates/main/base.html | 2 | ||||
-rw-r--r-- | templates/main/info/faq.html | 2 | ||||
-rw-r--r-- | templates/main/info/resources.html | 2 | ||||
-rw-r--r-- | 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 " - "<a href='https://gitlab.com/discord-python/projects/site/issues'>" + "<a href='https://gitlab.com/python-discord/projects/site/issues'>" "open an issue on our GitLab</a>." ), 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 " - "<a href='https://gitlab.com/discord-python/projects/site/issues'>file an issue on our" + "<a href='https://gitlab.com/python-discord/projects/site/issues'>file an issue on our" " GitLab</a>." ), 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 @@ <p> This website uses <a href="https://python.org">Python</a> and <a href="http://flask.pocoo.org/">Flask</a>, and was developed collaboratively on - <a href="https://gitlab.com/discord-python/projects/site">GitLab</a>. + <a href="https://gitlab.com/python-discord/projects/site">GitLab</a>. <br /> For privacy & GDPR-related info, please <a href="{{ url_for("main.about.privacy") }}">see this page</a>. </p> 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 - <a href="https://gitlab.com/discord-python">our projects</a>? + <a href="https://gitlab.com/python-discord">our projects</a>? </p> </div> </div> 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 @@ <p> 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 - <a href="https://gitlab.com/discord-python/projects/site/blob/master/static/resources.json">on GitLab</a> - + <a href="https://gitlab.com/python-discord/projects/site/blob/master/static/resources.json">on GitLab</a> - 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! </p> 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 @@ <p> This website uses <a href="https://python.org">Python</a> and <a href="http://flask.pocoo.org/">Flask</a>, and was developed collaboratively on - <a href="https://gitlab.com/discord-python/projects/site">GitLab</a>. + <a href="https://gitlab.com/python-discord/projects/site">GitLab</a>. <br /> For privacy & GDPR-related info, please <a href="{{ url_for("main.about.privacy") }}">see this page</a>. </p> |