mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 11:03:54 +00:00
stream: Add conditional note to can_add_subscribers_group.
Fixes #33156. If the stream is set to on the private settings for privacy, we add a parenthesis text `must be subscribed`. We had to use JS to change the string since just having a conditional in the handlebars template would not ensure that the parenthesis text appears or disappears on changing the value.
This commit is contained in:
committed by
Tim Abbott
parent
82c04ebe9e
commit
2fdb4fe53c
@@ -177,6 +177,8 @@ IGNORED_PHRASES = [
|
||||
r"hours",
|
||||
r"days",
|
||||
r"weeks",
|
||||
# Used in "Who can subscribe others to this channel" label.
|
||||
r"must be subscribed",
|
||||
]
|
||||
|
||||
# Sort regexes in descending order of their lengths. As a result, the
|
||||
|
||||
Reference in New Issue
Block a user