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.
This commit is contained in:
AcKindle3
2023-04-09 00:10:04 -04:00
committed by Tim Abbott
parent 02364dd69f
commit ff48f3c489
10 changed files with 20 additions and 20 deletions

View File

@@ -108,8 +108,8 @@
{% if not corporate_enabled %}
<a href="/help/">{{ _("Help center") }}</a>
{% endif %}
<a href="{{ root_domain_uri }}/policies/terms">{{ _("Terms of Service") }}</a>
<a href="{{ root_domain_uri }}/policies/privacy">{{ _("Privacy policy") }}</a>
<a href="{{ root_domain_url }}/policies/terms">{{ _("Terms of Service") }}</a>
<a href="{{ root_domain_url }}/policies/privacy">{{ _("Privacy policy") }}</a>
{% if corporate_enabled %}
<a href="https://zulip.com/attribution/">{{ _("Website attributions") }}</a>
{% endif %}