From 4e01449cfdd45f3b89ce74ebcea88580b3b04d6c Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Wed, 1 Mar 2023 09:09:26 +0530 Subject: [PATCH] register: Rename creating_new_team to creating_new_realm. This commit renames creating_new_team variable to creating_new_realm as "realm" seems better to explain new realm creation than "team". --- templates/zerver/register.html | 12 ++++++------ zerver/views/registration.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/zerver/register.html b/templates/zerver/register.html index ad60fd3bd9..9251ca9b67 100644 --- a/templates/zerver/register.html +++ b/templates/zerver/register.html @@ -17,7 +17,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
- {% if creating_new_team %} + {% if creating_new_realm %}

{{ _('Create your organization') }}

{% else %}

{{ _('Create your account') }}

@@ -32,7 +32,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s {{ csrf_input }}
- {% if creating_new_team %} + {% if creating_new_realm %} {{ _('Your organization') }}
@@ -104,10 +104,10 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
- {% if creating_new_team %} + {% if creating_new_realm %} {{ _('Your account') }} {% endif %} - {% if realm_name and not creating_new_team %} + {% if realm_name and not creating_new_realm %}
{{ realm_name }}
@@ -121,7 +121,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s
{{ email }}
- {% if not creating_new_team %} + {% if not creating_new_realm %}

{% if default_email_address_visibility == email_address_visibility_admins_only %} @@ -298,7 +298,7 @@ Form is validated both client-side using jquery-validation (see signup.js) and s

-{% if not creating_new_team %} +{% if not creating_new_realm %}