This organization has been migrated to new hosting on zulip.com. We just need you to do one last thing.
diff --git a/templates/zerver/accounts_accept_terms.html b/templates/zerver/accounts_accept_terms.html
index ec6b5a035d..deb9bf5836 100644
--- a/templates/zerver/accounts_accept_terms.html
+++ b/templates/zerver/accounts_accept_terms.html
@@ -9,13 +9,9 @@ the registration flow has its own (nearly identical) copy of the fields below in
- {% if special_message_template %}
- {% include special_message_template %}
- {% else %}
{{ _("Accept the Terms of Service") }}
- {% endif %}
- {% if terms_of_service_message %}
+ {% if first_time_terms_of_service_message_template %}
+ {% include first_time_terms_of_service_message_template %}
+ {% elif terms_of_service_message %}
{{ terms_of_service_message |safe }}
diff --git a/zerver/views/home.py b/zerver/views/home.py
index 9b9d7217fb..58a13afed8 100644
--- a/zerver/views/home.py
+++ b/zerver/views/home.py
@@ -45,19 +45,19 @@ def accounts_accept_terms(request: HttpRequest) -> HttpResponse:
form = ToSForm()
email = request.user.delivery_email
- special_message_template = None
+ first_time_terms_of_service_message_template = None
if (
request.user.tos_version is None
and settings.FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE is not None
):
- special_message_template = settings.FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE
+ first_time_terms_of_service_message_template = settings.FIRST_TIME_TERMS_OF_SERVICE_TEMPLATE
return render(
request,
"zerver/accounts_accept_terms.html",
context={
"form": form,
"email": email,
- "special_message_template": special_message_template,
+ "first_time_terms_of_service_message_template": first_time_terms_of_service_message_template,
},
)