mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	realm_plan_type: Restrict uploading organization logos by plan type.
Using the page_param variable "plan_includes_wide_organization_logo" disallow users in a realm with a "LIMITED" plan type from uploading their own wide organization logos and instead suggest that they upgrade their plan using the page_param variable "upgrade_text_for_wide_organization_logo" for the suggestion message. Backend validation for this feature already exists.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							5a1043237c
						
					
				
				
					commit
					52a5474000
				
			@@ -68,6 +68,9 @@ exports.build_page = function () {
 | 
			
		||||
        realm_digest_emails_enabled: page_params.realm_digest_emails_enabled,
 | 
			
		||||
        realm_digest_weekday: page_params.realm_digest_weekday,
 | 
			
		||||
        development: page_params.development_environment,
 | 
			
		||||
        plan_includes_wide_organization_logo: page_params.plan_includes_wide_organization_logo,
 | 
			
		||||
        upgrade_text_for_wide_organization_logo:
 | 
			
		||||
            page_params.upgrade_text_for_wide_organization_logo,
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    options.admin_settings_label = admin_settings_label;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user