mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	custom profile fields: Extract a separate various for whether enabled.
This will make it possible to do this on a per-organization basis.
This commit is contained in:
		@@ -88,7 +88,7 @@
 | 
			
		||||
                    <i class="icon icon-vector-font"></i>
 | 
			
		||||
                    <div class="text">{{ _('Filter settings') }}</div>
 | 
			
		||||
                </li>
 | 
			
		||||
                {% if development_environment %}
 | 
			
		||||
                {% if custom_profile_fields_enabled %}
 | 
			
		||||
                <li tabindex="0" data-section="profile-field-settings">
 | 
			
		||||
                    <i class="icon icon-vector-user"></i>
 | 
			
		||||
                    <div class="text">{{ _('Custom profile fields') }}</div>
 | 
			
		||||
 
 | 
			
		||||
@@ -107,6 +107,7 @@ def zulip_default_context(request: HttpRequest) -> Dict[str, Any]:
 | 
			
		||||
        'privacy_policy': settings.PRIVACY_POLICY,
 | 
			
		||||
        'login_url': settings.HOME_NOT_LOGGED_IN,
 | 
			
		||||
        'only_sso': settings.ONLY_SSO,
 | 
			
		||||
        'custom_profile_fields_enabled': settings.DEVELOPMENT,
 | 
			
		||||
        'external_host': settings.EXTERNAL_HOST,
 | 
			
		||||
        'external_uri_scheme': settings.EXTERNAL_URI_SCHEME,
 | 
			
		||||
        'realm_invite_required': realm_invite_required,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user