From ff48f3c48920e3c74c59d333e4493ad6e78d6701 Mon Sep 17 00:00:00 2001 From: AcKindle3 Date: Sun, 9 Apr 2023 00:10:04 -0400 Subject: [PATCH] templates: Use `root_domain_url` Django templates. Per the issue #25045, this commit changes some occurences of `uri` appeared in variable `root_domain_uri`. Files affected are some html files that used this variables and a backend file `context_processors.py` that set it as a key. --- templates/zerver/accounts_accept_terms.html | 2 +- .../authentication_backends/apple-error.html | 2 +- .../authentication_backends/github-error.html | 2 +- .../authentication_backends/gitlab-error.html | 2 +- .../authentication_backends/google-error.html | 2 +- templates/zerver/billing_nav.html | 2 +- templates/zerver/footer.html | 4 ++-- templates/zerver/portico-header.html | 14 +++++++------- templates/zerver/register.html | 6 +++--- zerver/context_processors.py | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/templates/zerver/accounts_accept_terms.html b/templates/zerver/accounts_accept_terms.html index 8bfb4c5129..e36bf92a66 100644 --- a/templates/zerver/accounts_accept_terms.html +++ b/templates/zerver/accounts_accept_terms.html @@ -49,7 +49,7 @@ the registration flow has its own (nearly identical) copy of the fields below in - {% trans %}I agree to the Terms of Service.{% endtrans %} + {% trans %}I agree to the Terms of Service.{% endtrans %} {% if form.terms.errors %} {% for error in form.terms.errors %} diff --git a/templates/zerver/authentication_backends/apple-error.html b/templates/zerver/authentication_backends/apple-error.html index eb8bfd5c34..3413772eb3 100644 --- a/templates/zerver/authentication_backends/apple-error.html +++ b/templates/zerver/authentication_backends/apple-error.html @@ -5,7 +5,7 @@