mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	streams: Reorder stream-privacy choices in UI.
This commit moves 'Web public' option to top in the stream privacy choices in stream creation form and changing privacy modal.
This commit is contained in:
		@@ -103,6 +103,14 @@ const stream_ids_by_name = new FoldDict();
 | 
			
		||||
const default_stream_ids = new Set();
 | 
			
		||||
 | 
			
		||||
export const stream_privacy_policy_values = {
 | 
			
		||||
    web_public: {
 | 
			
		||||
        code: "web-public",
 | 
			
		||||
        name: $t({defaultMessage: "Web public"}),
 | 
			
		||||
        description: $t({
 | 
			
		||||
            defaultMessage:
 | 
			
		||||
                "Organization members can join (guests must be invited by a subscriber); anyone on the Internet can view complete message history without creating an account",
 | 
			
		||||
        }),
 | 
			
		||||
    },
 | 
			
		||||
    public: {
 | 
			
		||||
        code: "public",
 | 
			
		||||
        name: $t({defaultMessage: "Public"}),
 | 
			
		||||
@@ -127,14 +135,6 @@ export const stream_privacy_policy_values = {
 | 
			
		||||
                "Must be invited by a subscriber; new subscribers can only see messages sent after they join; hidden from non-administrator users",
 | 
			
		||||
        }),
 | 
			
		||||
    },
 | 
			
		||||
    web_public: {
 | 
			
		||||
        code: "web-public",
 | 
			
		||||
        name: $t({defaultMessage: "Web public"}),
 | 
			
		||||
        description: $t({
 | 
			
		||||
            defaultMessage:
 | 
			
		||||
                "Organization members can join (guests must be invited by a subscriber); anyone on the Internet can view complete message history without creating an account",
 | 
			
		||||
        }),
 | 
			
		||||
    },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const stream_post_policy_values = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user