mirror of https://github.com/zulip/zulip.git
stream_types: Suggest private, shared history before protected history.
This feels like the more common use case for most users.
This commit is contained in:
parent
ee45125f82
commit
bab09a6579
|
@ -1256,8 +1256,8 @@ run_test('handlebars_bug', () => {
|
|||
|
||||
var other_options = $(html).find("input[name=privacy]");
|
||||
assert.equal(other_options[0].value, 'public');
|
||||
assert.equal(other_options[1].value, 'invite-only');
|
||||
assert.equal(other_options[2].value, 'invite-only-public-history');
|
||||
assert.equal(other_options[1].value, 'invite-only-public-history');
|
||||
assert.equal(other_options[2].value, 'invite-only');
|
||||
|
||||
var button = $(html).find("#change-stream-privacy-button");
|
||||
assert(button.hasClass("btn-danger"));
|
||||
|
|
|
@ -7,14 +7,6 @@
|
|||
{{/tr}}
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="radio">
|
||||
<input type="radio" name="privacy" value="invite-only" {{#if is_private}}checked{{/if}} />
|
||||
{{#tr this}}
|
||||
<b>Private, protected history:</b> must be invited by a member; new members can only see messages sent after they join; hidden from non-administrator users
|
||||
{{/tr}}
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="radio">
|
||||
<input type="radio" name="privacy" value="invite-only-public-history" {{#if is_private_with_public_history}}checked{{/if}} />
|
||||
|
@ -23,4 +15,12 @@
|
|||
{{/tr}}
|
||||
</label>
|
||||
</li>
|
||||
<li>
|
||||
<label class="radio">
|
||||
<input type="radio" name="privacy" value="invite-only" {{#if is_private}}checked{{/if}} />
|
||||
{{#tr this}}
|
||||
<b>Private, protected history:</b> must be invited by a member; new members can only see messages sent after they join; hidden from non-administrator users
|
||||
{{/tr}}
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue