mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	settings org: Use image_upload_widget.hbs for realm day/night logo.
				
					
				
			Now we can use common HTML image upload widget template `image_upload_widget.hbs` for realm day/night logo and we should access those day/night logo elements using e.g., "#realm-day/night-logo-upload-widget .realm-logo-elements". since we use image_upload_widget.hbs for realm day/night logo upload widget we need to extract CSS for realm day/night logo and place them separately under `#realm-day-logo-upload-widget` and `#realm-day-logo-upload-widget` css id.
This commit is contained in:
		@@ -47,3 +47,7 @@ exports.get_time_preferences = function (user_timezone) {
 | 
			
		||||
        format: "h:mm A",
 | 
			
		||||
    };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
exports.user_can_change_logo = function () {
 | 
			
		||||
    return page_params.is_admin && page_params.zulip_plan_is_not_limited;
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user