mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user